diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-12 23:55:25 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-12 23:55:25 +0400 |
commit | f7c032b7653101e72585985985b0865d018a7cd7 (patch) | |
tree | 2219a111a4c0396a74d76b8582cec88a7fccaab5 /doc/python_api | |
parent | 875f616ab8c0856bef287d1041141ee2f4d986aa (diff) |
py api docs - remove sphinx .doctree before zipping, saves some space 18mb --> 3.1 mb
Diffstat (limited to 'doc/python_api')
-rwxr-xr-x | doc/python_api/sphinx_doc_gen.sh | 7 |
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 |