X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=push-to-web.sh;h=ff12e57311f9d5048fe524af4c51319811990f57;hb=947ab5a6dd8278d85ff74e42151797cf8b9dbaf4;hp=aaf18bdbd60c1d0742ad19645ff25b5b1a54bfd0;hpb=90e29a7415fdbb87d6df022c0115566d52373d2a;p=dygraphs.git diff --git a/push-to-web.sh b/push-to-web.sh index aaf18bd..ff12e57 100755 --- a/push-to-web.sh +++ b/push-to-web.sh @@ -7,10 +7,15 @@ site=$1 # Produce dygraph-combined.js. ./generate-combined.sh +# Generate documentation. +./generate-documentation.py > docs/options.html +./generate-jsdoc.sh + # Copy everything to the site. -scp tests/*.html tests/*.js tests/*.png $site/tests/ \ +scp -r tests jsdoc $site \ && \ scp dygraph*.js gadget.xml excanvas.js thumbnail.png screenshot.png docs/* $site/ -# Revert changes to dygraph-combined.js +# Revert changes to dygraph-combined.js and docs/options.html git checkout dygraph-combined.js +rm docs/options.html