X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=push-to-web.sh;h=7aca0f4fd51a114281d7154110e456ab3eb6fe59;hb=91c10d9cdfcc6171e19cc5d3d42b4a14d2093a7b;hp=e639317155f890b6709239b982f6685889651b65;hpb=2a9e1bdf48efcebf0ade62ebf6e8437131f1e377;p=dygraphs.git diff --git a/push-to-web.sh b/push-to-web.sh index e639317..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/*.html $site/tests/ \ +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