[Bf-blender-cvs] [37ad72ab237] master: Fix T99966: Python API docs fail to generate

Campbell Barton noreply at git.blender.org
Tue Jul 26 05:22:07 CEST 2022


Commit: 37ad72ab23785089a65a3291b66a4063d13b0cf3
Author: Campbell Barton
Date:   Tue Jul 26 12:17:16 2022 +1000
Branches: master
https://developer.blender.org/rB37ad72ab23785089a65a3291b66a4063d13b0cf3

Fix T99966: Python API docs fail to generate

The recent addition of "active_action" [0] required updating in the
API docs type information.

[0]: cd21022b78fe48c16ab11d04682bb92271873a9c

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

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 f5e0369cede..240bec6fd30 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -1131,6 +1131,7 @@ def pymodule2sphinx(basepath, module_name, module, title, module_all_extra):
 # Changes In Blender will force errors here.
 context_type_map = {
     # context_member: (RNA type, is_collection)
+    "active_action": ("Action", False),
     "active_annotation_layer": ("GPencilLayer", False),
     "active_bone": ("EditBone", False),
     "active_file": ("FileSelectEntry", False),



More information about the Bf-blender-cvs mailing list