mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
PyDoc: quiet output and minor cleanup
Suppress printing unnecessary output when generating docs.
This commit is contained in:
parent
4d509fd6e1
commit
1e882b8657
2 changed files with 22 additions and 6 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue