diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-14 15:18:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-14 15:18:46 +0300 |
commit | 3730839958c8e3a371eb5ebc7ab8578e45d825ab (patch) | |
tree | bd0d19475d1356d3b2b0b9279a7add1cfd1d4a8d /doc/python_api/sphinx_doc_gen.py | |
parent | 1b5383854811f3aab842c9f10693fec57e28b07f (diff) |
Correct error in py doc generation
Diffstat (limited to 'doc/python_api/sphinx_doc_gen.py')
-rw-r--r-- | doc/python_api/sphinx_doc_gen.py | 3 |
1 files changed, 1 insertions, 2 deletions
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 |