diff options
author | Julian Eisel <julian@blender.org> | 2021-09-01 17:27:29 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-09-01 17:28:44 +0300 |
commit | f62eb8ac16c1bd7abe0925b8b70fb47b613fbdd8 (patch) | |
tree | b205e84bca0fcd018fae323eb5e1f0ca618a3a7a /doc/python_api/sphinx_doc_gen.py | |
parent | 2aad8fc7bc2a45d5f749430c7cb9b82b9f6c9e49 (diff) |
BPY-Docs: Add missing file context members documentation
Context members of the file space would not be shown in the context API
docs.
Diffstat (limited to 'doc/python_api/sphinx_doc_gen.py')
-rw-r--r-- | doc/python_api/sphinx_doc_gen.py | 4 |
1 files changed, 4 insertions, 0 deletions
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() |