py api docs - remove sphinx .doctree before zipping, saves some space 18mb --> 3...
authorCampbell Barton <ideasman42@gmail.com>
Sun, 12 Feb 2012 19:55:25 +0000 (19:55 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 12 Feb 2012 19:55:25 +0000 (19:55 +0000)
doc/python_api/sphinx_doc_gen.sh

index 1698e9892bc79df52199369441a05f655927d10b..ccb293d7a0e287de42d12a5ba5fd34d7c6b99f4a 100755 (executable)
@@ -63,6 +63,13 @@ if $DO_OUT_HTML ; then
        cd $SPHINXBASE
        sphinx-build -n -b html sphinx-in sphinx-out
 
+       # XXX, saves space on upload and zip, should move HTML outside
+       # and zip up there, for now this is OK
+       rm -rf sphinx-out/.doctrees
+
+       # incase we have a zip already
+       rm -f blender_python_reference_$BLENDER_VERSION.zip
+
        # ------------------------------------------------------------------------
        # ZIP the HTML dir for upload