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
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