[Bf-blender-cvs] [021b94f27c9] master: PyDoc: Fix sphinx warnign from missing newline
Aaron Carlisle
noreply at git.blender.org
Wed Oct 7 21:54:33 CEST 2020
Commit: 021b94f27c9001e2ceaada5b8b399d917cc760a4
Author: Aaron Carlisle
Date: Wed Oct 7 15:51:03 2020 -0400
Branches: master
https://developer.blender.org/rB021b94f27c9001e2ceaada5b8b399d917cc760a4
PyDoc: Fix sphinx warnign from missing newline
===================================================================
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 9526e236f20..264991a28c6 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -744,10 +744,9 @@ def pyprop2sphinx(ident, fw, identifier, py_prop):
else:
fw(ident + ".. attribute:: %s\n\n" % identifier)
write_indented_lines(ident + " ", fw, py_prop.__doc__)
+ fw("\n")
if py_prop.fset is None:
fw(ident + " (readonly)\n\n")
- else:
- fw("\n")
def pymodule2sphinx(basepath, module_name, module, title):
More information about the Bf-blender-cvs
mailing list