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:
authorCampbell Barton <campbell@blender.org>2022-05-23 04:43:47 +0300
committerCampbell Barton <campbell@blender.org>2022-05-23 05:37:28 +0300
commit1e882b86579b7aea76fd81ee121949e03c7599be (patch)
tree94fb4a3491a97f75aeb50ed816652ae7e84eb002 /doc
parent4d509fd6e14c475a2318ca37ba81ed04f7028ec1 (diff)
PyDoc: quiet output and minor cleanup
Suppress printing unnecessary output when generating docs.
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/sphinx_doc_gen.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index fe723d88c2a..be94a54b24c 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -13,10 +13,10 @@ API dump in RST files
providing ./blender is or links to the blender executable
To choose sphinx-in directory:
- blender --background --factory-startup --python doc/python_api/sphinx_doc_gen.py -- --output ../python_api
+ blender --background --factory-startup --python doc/python_api/sphinx_doc_gen.py -- --output=../python_api
For quick builds:
- blender --background --factory-startup --python doc/python_api/sphinx_doc_gen.py -- --partial bmesh.*
+ blender --background --factory-startup --python doc/python_api/sphinx_doc_gen.py -- --partial=bmesh.*
Sphinx: HTML generation
@@ -98,8 +98,9 @@ def handle_args():
type=str,
default="",
help="Use a wildcard to only build specific module(s)\n"
- "Example: --partial bmesh*\n",
- required=False,)
+ "Example: --partial\"=bmesh*\"\n",
+ required=False,
+ )
parser.add_argument(
"-f", "--fullrebuild",
@@ -287,7 +288,7 @@ else:
if FILTER_BPY_TYPES:
EXCLUDE_MODULES.remove("bpy.types")
- print(FILTER_BPY_TYPES)
+ # print(FILTER_BPY_TYPES)
EXCLUDE_INFO_DOCS = (not fnmatch.fnmatchcase("info", ARGS.partial))