diff options
-rw-r--r-- | doc/python_api/sphinx_doc_gen.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index 0b9a4e6a37b..7ffb4483593 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -971,10 +971,12 @@ def pymodule2sphinx(basepath, module_name, module, title): context_type_map = { "active_base": ("ObjectBase", False), "active_bone": ("EditBone", False), + "active_gpencil_frame": ("GreasePencilLayer", True), + "active_gpencil_layer": ("GPencilLayer", True), + "active_node": ("Node", False), "active_object": ("Object", False), "active_operator": ("Operator", False), "active_pose_bone": ("PoseBone", False), - "active_node": ("Node", False), "armature": ("Armature", False), "bone": ("Bone", False), "brush": ("Brush", False), @@ -990,7 +992,11 @@ context_type_map = { "edit_object": ("Object", False), "edit_text": ("Text", False), "editable_bones": ("EditBone", True), + "editable_gpencil_layers": ("GPencilLayer", True), + "editable_gpencil_strokes": ("GPencilStroke", True), "fluid": ("FluidSimulationModifier", False), + "gpencil_data": ("GreasePencel", False), + "gpencil_data_owner": ("ID", False), "image_paint_object": ("Object", False), "lamp": ("Lamp", False), "lattice": ("Lattice", False), @@ -1030,6 +1036,7 @@ context_type_map = { "vertex_paint_object": ("Object", False), "visible_bases": ("ObjectBase", True), "visible_bones": ("EditBone", True), + "visible_gpencil_layers": ("GPencilLayer", True), "visible_objects": ("Object", True), "visible_pose_bones": ("PoseBone", True), "weight_paint_object": ("Object", False), |