[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25770] trunk/blender/source/blender/ python/sphinx_doc_gen.py: write our to a shorter path, was failing unless you made the path manually since it was trying to write to a subsub dir that didnt exist .
Campbell Barton
ideasman42 at gmail.com
Wed Jan 6 10:42:41 CET 2010
Revision: 25770
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25770
Author: campbellbarton
Date: 2010-01-06 10:42:41 +0100 (Wed, 06 Jan 2010)
Log Message:
-----------
write our to a shorter path, was failing unless you made the path manually since it was trying to write to a subsub dir that didnt exist.
Modified Paths:
--------------
trunk/blender/source/blender/python/sphinx_doc_gen.py
Modified: trunk/blender/source/blender/python/sphinx_doc_gen.py
===================================================================
--- trunk/blender/source/blender/python/sphinx_doc_gen.py 2010-01-06 09:37:28 UTC (rev 25769)
+++ trunk/blender/source/blender/python/sphinx_doc_gen.py 2010-01-06 09:42:41 UTC (rev 25770)
@@ -23,10 +23,10 @@
run this script from blenders root path once you have compiled blender
./blender.bin -b -P /b/source/blender/python/sphinx_doc_gen.py
-This will generate python files in "./source/blender/python/doc/bpy/sphinx-in"
+This will generate python files in "./source/blender/python/doc/sphinx-in"
Generate html docs by running...
- sphinx-build source/blender/python/doc/bpy/sphinx-in source/blender/python/doc/bpy/sphinx-out
+ sphinx-build source/blender/python/doc/sphinx-in source/blender/python/doc/sphinx-out
'''
# if you dont have graphvis installed ommit the --graph arg.
@@ -274,9 +274,9 @@
print("\nError, this script must run from inside blender2.5")
print(script_help_msg)
else:
- # os.system("rm source/blender/python/doc/bpy/sphinx-in/*.rst")
- # os.system("rm -rf source/blender/python/doc/bpy/sphinx-out/*")
- rna2sphinx('source/blender/python/doc/bpy/sphinx-in')
+ # os.system("rm source/blender/python/doc/sphinx-in/*.rst")
+ # os.system("rm -rf source/blender/python/doc/sphinx-out/*")
+ rna2sphinx('source/blender/python/doc/sphinx-in')
import sys
sys.exit()
More information about the Bf-blender-cvs
mailing list