X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=push-to-web.sh;h=997201b71523fa1e4b7226122671308b809f19d8;hb=cf180220e31315f7a4f4595b80822a661326776c;hp=aaf18bdbd60c1d0742ad19645ff25b5b1a54bfd0;hpb=4127accfc05f5b051c84b6a623f11c7230e237d9;p=dygraphs.git diff --git a/push-to-web.sh b/push-to-web.sh index aaf18bd..997201b 100755 --- a/push-to-web.sh +++ b/push-to-web.sh @@ -7,10 +7,14 @@ site=$1 # Produce dygraph-combined.js. ./generate-combined.sh +# Generate documentation. +./generate-documentation.py > docs/options.html + # Copy everything to the site. -scp tests/*.html tests/*.js tests/*.png $site/tests/ \ +scp -r tests $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