[Bf-blender-cvs] [63849aac957] master: Fix duplicate property references in generated API docs

Campbell Barton noreply at git.blender.org
Mon May 11 08:41:56 CEST 2020


Commit: 63849aac957fe82caeb6578a6a82bcd4f749247f
Author: Campbell Barton
Date:   Mon May 11 16:41:06 2020 +1000
Branches: master
https://developer.blender.org/rB63849aac957fe82caeb6578a6a82bcd4f749247f

Fix duplicate property references in generated API docs

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

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 36ec0174d80..15108fe2aa2 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -1459,9 +1459,6 @@ def pyrna2sphinx(basepath):
                 for identifier, py_prop in base.get_py_properties():
                     lines.append("   * :class:`%s.%s`\n" % (base.identifier, identifier))
 
-                for identifier, py_prop in base.get_py_properties():
-                    lines.append("   * :class:`%s.%s`\n" % (base.identifier, identifier))
-
             if lines:
                 fw(".. rubric:: Inherited Properties\n\n")



More information about the Bf-blender-cvs mailing list