Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-08-14 15:18:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-08-14 15:18:46 +0300
commit3730839958c8e3a371eb5ebc7ab8578e45d825ab (patch)
treebd0d19475d1356d3b2b0b9279a7add1cfd1d4a8d /doc
parent1b5383854811f3aab842c9f10693fec57e28b07f (diff)
Correct error in py doc generation
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/sphinx_doc_gen.py3
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