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
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/sphinx_doc_gen.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index 9575955e13a..e96b4d363b4 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -65,8 +65,9 @@ else:
"bpy.props",
"bpy.utils",
"bpy.context",
- # "bpy.types", # supports filtering
+ "bpy.types", # supports filtering
"bpy.ops", # supports filtering
+ #"bpy_extras",
"bge",
"aud",
"bgl",
@@ -363,10 +364,8 @@ def pymodule2sphinx(BASEPATH, module_name, module, title):
for submod_name in module_all:
ns = {}
exec_str = "from %s import %s as submod" % (module.__name__, submod_name)
- print(exec_str)
exec(exec_str, ns, ns)
submod = ns["submod"]
- print(submod)
if type(submod) == types.ModuleType:
submod_ls.append((submod_name, submod))