diff options
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 |