generate docs in push-to-web checked_reference
authorDan Vanderkam <dan@dygraphs.com>
Mon, 14 Mar 2011 03:48:02 +0000 (23:48 -0400)
committerDan Vanderkam <dan@dygraphs.com>
Mon, 14 Mar 2011 03:48:02 +0000 (23:48 -0400)
push-to-web.sh

index aaf18bd..9d1c53e 100755 (executable)
@@ -7,10 +7,14 @@ site=$1
 # Produce dygraph-combined.js.
 ./generate-combined.sh
 
+# Generate documentation.
+./generate-documentation.sh > 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