[Bf-blender-cvs] [d88da4db675] master: PyDoc: Render in text class name using class link syntax

Aaron Carlisle noreply at git.blender.org
Wed Oct 7 23:01:14 CEST 2020


Commit: d88da4db6759796b8829843d029875104f63ce66
Author: Aaron Carlisle
Date:   Wed Oct 7 17:00:57 2020 -0400
Branches: master
https://developer.blender.org/rBd88da4db6759796b8829843d029875104f63ce66

PyDoc: Render in text class name using class link syntax

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

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 264991a28c6..4ea63740b3c 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -1557,7 +1557,7 @@ def pyrna2sphinx(basepath):
             fw(".. class:: %s\n\n" % class_name)
             fw("   %s\n\n" % descr_str)
             fw("   .. note::\n\n")
-            fw("      Note that %s.%s is not actually available from within Blender,\n"
+            fw("      Note that :class:`%s.%s` is not actually available from within Blender,\n"
                "      it only exists for the purpose of documentation.\n\n" % (class_module_name, class_name))
 
             descr_items = [



More information about the Bf-blender-cvs mailing list