diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/doc/sphinx_doc_gen.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/python/doc/sphinx_doc_gen.py b/source/blender/python/doc/sphinx_doc_gen.py index 944dbb082a6..4b860f4a75b 100644 --- a/source/blender/python/doc/sphinx_doc_gen.py +++ b/source/blender/python/doc/sphinx_doc_gen.py @@ -129,7 +129,7 @@ def py_c_func2sphinx(ident, fw, identifier, py_func, is_class=True): fw("\n") else: fw(ident + ".. function:: %s()\n\n" % identifier) - fw(ident + " Undocumented function.\n\n" % identifier) + fw(ident + " Undocumented function.\n\n") def pyprop2sphinx(ident, fw, identifier, py_prop): @@ -307,6 +307,7 @@ def rna2sphinx(BASEPATH): fw(" bpy.props.rst\n\n") fw(" Mathutils.rst\n\n") + fw(" Freestyle.rst\n\n") fw(" blf.rst\n\n") file.close() @@ -349,6 +350,10 @@ def rna2sphinx(BASEPATH): pymodule2sphinx(BASEPATH, "Mathutils", module, "Math Types & Utilities (Mathutils)") del module + import Freestyle as module + pymodule2sphinx(BASEPATH, "Freestyle", module, "Freestyle Operators & Rules (Freestyle)") + del module + import blf as module pymodule2sphinx(BASEPATH, "blf", module, "Blender Font Drawing (blf)") del module |