X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=push-to-web.sh;h=7aca0f4fd51a114281d7154110e456ab3eb6fe59;hb=54425b14df388e9337a1d77876512bb60ba74c3b;hp=aaf18bdbd60c1d0742ad19645ff25b5b1a54bfd0;hpb=6fd1990aa8fc8dc1f5c4017db17db6c4ba36c629;p=dygraphs.git diff --git a/push-to-web.sh b/push-to-web.sh index aaf18bd..7aca0f4 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 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