Add JSHint and make dygraphs pass its checks.
[dygraphs.git] / push-to-web.sh
index 9d1c53e..ff12e57 100755 (executable)
@@ -8,10 +8,11 @@ site=$1
 ./generate-combined.sh
 
 # Generate documentation.
-./generate-documentation.sh > docs/options.html
+./generate-documentation.py > docs/options.html
+./generate-jsdoc.sh
 
 # Copy everything to the site.
-scp tests/*.html tests/*.js tests/*.png $site/tests/ \
+scp -r tests jsdoc $site \
 && \
 scp dygraph*.js gadget.xml excanvas.js thumbnail.png screenshot.png docs/* $site/