write our to a shorter path, was failing unless you made the path manually since...
authorCampbell Barton <ideasman42@gmail.com>
Wed, 6 Jan 2010 09:42:41 +0000 (09:42 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 6 Jan 2010 09:42:41 +0000 (09:42 +0000)
source/blender/python/sphinx_doc_gen.py

index df48bad980d44437bd084ddd06584477ccb9ac82..afa117ea60f148b085e22209b8d5d7f876e8020b 100644 (file)
@@ -23,10 +23,10 @@ Usage,
 run this script from blenders root path once you have compiled blender
     ./blender.bin -b -P /b/source/blender/python/sphinx_doc_gen.py
 
 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...
     
 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.
 '''
 
 # if you dont have graphvis installed ommit the --graph arg.
@@ -274,9 +274,9 @@ if __name__ == '__main__':
         print("\nError, this script must run from inside blender2.5")
         print(script_help_msg)
     else:
         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()
 
     import sys
     sys.exit()