blender/tests/python/system_python
Campbell Barton 49f0703fd1 PyDoc: type hints for sphinx_doc_gen.py, various minor changes
Various changes in preparation for including documentation generation
in Blender's CTests (not HTML generation, as that takes much longer).

- Collect errors while building docs, print them to the stderr,
  then exit with an error exit code.
- Support passing in arguments to its `main(argv=None)`,
  so other scripts can invoke documentation generator.
- Use type hints for the doc generator, passes `mypy --strict`.
- Add a helper that type-checks the bundled scripts
  against the generated stubs - to help expose issues.

Ref !158399
2026-05-11 22:37:57 +00:00
..
load_tool_scripts.py