From: Dan Vanderkam Date: Mon, 12 Aug 2013 22:20:20 +0000 (-0400) Subject: generate download.html in push-to-web X-Git-Tag: v1.0.0~4 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;ds=sidebyside;h=5c364f5751e9cd909895f7883c2bfac38eb8c407;p=dygraphs.git generate download.html in push-to-web --- diff --git a/push-to-web.sh b/push-to-web.sh index 9234c57..77bd91f 100755 --- a/push-to-web.sh +++ b/push-to-web.sh @@ -18,6 +18,7 @@ site=$1 chmod a+r docs/options.html if [ -s docs/options.html ] ; then ./generate-jsdoc.sh + ./generate-download.py > docs/download.html temp_dir=$(mktemp -d /tmp/dygraphs-docs.XXXX) cd docs @@ -36,7 +37,8 @@ else echo "generate-documentation.py failed" fi -# Revert changes to dygraph-combined.js and docs/options.html +# Revert changes to dygraph-combined.js and docs. git checkout dygraph-combined.js +git checkout docs/download.html rm docs/options.html rm -rf $temp_dir