Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-02-12 23:55:25 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-12 23:55:25 +0400
commitf7c032b7653101e72585985985b0865d018a7cd7 (patch)
tree2219a111a4c0396a74d76b8582cec88a7fccaab5 /doc/python_api/sphinx_doc_gen.sh
parent875f616ab8c0856bef287d1041141ee2f4d986aa (diff)
py api docs - remove sphinx .doctree before zipping, saves some space 18mb --> 3.1 mb
Diffstat (limited to 'doc/python_api/sphinx_doc_gen.sh')
-rwxr-xr-xdoc/python_api/sphinx_doc_gen.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/python_api/sphinx_doc_gen.sh b/doc/python_api/sphinx_doc_gen.sh
index 1698e9892bc..ccb293d7a0e 100755
--- a/doc/python_api/sphinx_doc_gen.sh
+++ b/doc/python_api/sphinx_doc_gen.sh
@@ -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