-# Copy everything to the site.
-scp -r tests jsdoc $site \
-&& \
-scp dygraph*.js gadget.xml excanvas.js thumbnail.png screenshot.png docs/* $site/
+ # Copy everything to the site.
+ rsync -avzr gallery common tests jsdoc experimental plugins $site \
+ && \
+ rsync -avzr dygraph*.js gadget.xml excanvas.js thumbnail.png screenshot.png docs/ $site/
+else
+ echo "generate-documentation.py failed"
+fi