X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=push-to-web.sh;h=7aca0f4fd51a114281d7154110e456ab3eb6fe59;hb=8c5fe59ea2f22d8c4fbab80fcaf702843fccf2f9;hp=3d65b1bd1940231cbdbeb319ad334661396d5246;hpb=b03b9d235686d105e46a4263bcaddf8eee2b9553;p=dygraphs.git diff --git a/push-to-web.sh b/push-to-web.sh index 3d65b1b..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 docs/* $site/ +scp dygraph*.js gadget.xml excanvas.js thumbnail.png screenshot.png docs/* $site/ -# Revert changes to dygraph-combined.js -git co dygraph-combined.js +# Revert changes to dygraph-combined.js and docs/options.html +git checkout dygraph-combined.js +rm docs/options.html