From f7c032b7653101e72585985985b0865d018a7cd7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 12 Feb 2012 19:55:25 +0000 Subject: py api docs - remove sphinx .doctree before zipping, saves some space 18mb --> 3.1 mb --- doc/python_api/sphinx_doc_gen.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/python_api/sphinx_doc_gen.sh') 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 -- cgit v1.2.3