[Bf-blender-cvs] [3730839958c] blender2.8: Correct error in py doc generation

Campbell Barton noreply at git.blender.org
Tue Aug 14 14:15:08 CEST 2018


Commit: 3730839958c8e3a371eb5ebc7ab8578e45d825ab
Author: Campbell Barton
Date:   Tue Aug 14 22:18:24 2018 +1000
Branches: blender2.8
https://developer.blender.org/rB3730839958c8e3a371eb5ebc7ab8578e45d825ab

Correct error in py doc generation

===================================================================

M	doc/python_api/sphinx_doc_gen.py

===================================================================

diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index 26cc3cda96b..0cbdc47f697 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -808,8 +808,7 @@ def pymodule2sphinx(basepath, module_name, module, title):
 
             for submod_name, submod in submod_ls:
                 submod_name_full = "%s.%s" % (module_name, submod_name)
-                fw("   %s.rst\n" % submod_name_full)
-            fw("\n")
+                fw("   %s.rst\n\n" % submod_name_full)
 
                 pymodule2sphinx(basepath, submod_name_full, submod, "%s submodule" % module_name)
         del submod_ls



More information about the Bf-blender-cvs mailing list