Blender Git Commit Log

Git Commits -> Revision 3a3b36c

Revision 3a3b36c by Aaron Carlisle (arcpatch-D9139)
October 7, 2020, 17:15 (GMT)
PyDoc: Fix 90% of sphinx-build warnings

This is a second attempt at rB953c232db31f1a76f99ceb43119681ce0df1ab17 which got reverted

Changes:

- Document `bpy.ops.*` as classes and not modules (`bpy.ops`) is still a module. Changes here were also made to increase the indent to reduce the documentation scope (sphinx was complaining because to class functions were the same).
- Remove `.. module:: bpy.types` from each bpy type page. Sphinx complains because there are multiple modules with the same name. Changes are are made here to document as a class.
- Change the bpy data module from `.. module:: bpy` to`.. module:: bpy.data`

These changes were tested to insure the urls and xrefs were the same (see rBaead4b3cab472b96fa0e07c289979c28f5fc22a5)

Total errors went from 1263 to 120. The remaining errors regarding duplicate object descriptions are a bit harder to fix.

Differential Revision: https://developer.blender.org/D9139

Commit Details:

Full Hash: 3a3b36cf50f276ad4c23fb32f07ede2efb2801eb
Parent Commit: 2f1a0f6
Lines Changed: +7, -9

1 Modified Path:

/doc/python_api/sphinx_doc_gen.py (+7, -9) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021