From f62eb8ac16c1bd7abe0925b8b70fb47b613fbdd8 Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Wed, 1 Sep 2021 16:27:29 +0200 Subject: BPY-Docs: Add missing file context members documentation Context members of the file space would not be shown in the context API docs. --- doc/python_api/sphinx_doc_gen.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/python_api') diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index 99d1828e529..aa0f79646e6 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -1039,6 +1039,7 @@ context_type_map = { # context_member: (RNA type, is_collection) "active_annotation_layer": ("GPencilLayer", False), "active_bone": ("EditBone", False), + "active_file": ("FileSelectEntry", False), "active_gpencil_frame": ("GreasePencilLayer", True), "active_gpencil_layer": ("GPencilLayer", True), "active_node": ("Node", False), @@ -1077,6 +1078,7 @@ context_type_map = { "gpencil_data": ("GreasePencil", False), "gpencil_data_owner": ("ID", False), "hair": ("Hair", False), + "id": ("ID", False), "image_paint_object": ("Object", False), "lattice": ("Lattice", False), "light": ("Light", False), @@ -1105,6 +1107,7 @@ context_type_map = { "selected_editable_keyframes": ("Keyframe", True), "selected_editable_objects": ("Object", True), "selected_editable_sequences": ("Sequence", True), + "selected_files": ("FileSelectEntry", True), "selected_nla_strips": ("NlaStrip", True), "selected_nodes": ("Node", True), "selected_objects": ("Object", True), @@ -1201,6 +1204,7 @@ def pycontext2sphinx(basepath): "text_context_dir", "clip_context_dir", "sequencer_context_dir", + "file_context_dir", ) unique = set() -- cgit v1.2.3