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
diff options
context:
space:
mode:
authorMax Schlecht <Bobbe>2020-09-25 06:14:15 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2020-09-25 06:14:15 +0300
commitaead4b3cab472b96fa0e07c289979c28f5fc22a5 (patch)
tree55cbde3c488a83ecbd9f2955814c44c017107049 /doc/python_api/sphinx_doc_gen.py
parent8febaae9e4f968bff42409151e37f8ef17296ab8 (diff)
API Docs: Fix xref urls
Fully revert D7913 "Fix T77276: Generating Python API docs raises many warnings" {D7913} broke xrefs/links to other types and permalinks in the docs. This makes the python api docs for 2.90 and 2.91 completely unusable. It got partially reverted in commit e893430a6306ded059270e7df9d78180cdc0d9e3. That didn't fix those two issues though, so it should be fully reverted. As you can see here, i'm not able to click `bpy_struct.id_data`, because no <a> tag got generated in the html. {F8889934} Here you can see a working, but wrong permalink, generated by clicking the little chain. (It should be `bpy.types.MeshVertices`, not `bpy.types.MeshVertices.MeshVertices`) {F8889938} Reviewed By: Blendify Differential Revision: https://developer.blender.org/D8913
Diffstat (limited to 'doc/python_api/sphinx_doc_gen.py')
-rw-r--r--doc/python_api/sphinx_doc_gen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index 2c9445dce97..db5c161865f 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -1312,7 +1312,7 @@ def pyrna2sphinx(basepath):
fw(title_string(title, "="))
- fw(".. module:: %s.%s\n\n" % (struct_module_name, struct_id))
+ fw(".. module:: %s\n\n" % struct_module_name)
# docs first?, ok
write_example_ref("", fw, "%s.%s" % (struct_module_name, struct_id))
@@ -1543,7 +1543,7 @@ def pyrna2sphinx(basepath):
fw(title_string(class_name, "="))
- fw(".. module:: %s.%s\n" % (class_module_name, class_name))
+ fw(".. module:: %s\n" % class_module_name)
fw("\n")
if use_subclasses: