blender/doc/python_api
Campbell Barton fb86f3ee18 PyDoc: document static enums from RNA_enum_items.h
Create a page for every enum in RNA_enum_items.h, which includes
the enum values and the doc-string for each item.

Each page creates a references which the API reference can be linked to
via the same name as the enum, so :ref:`rna_enum_icon_items` links
to the list of icons for e.g.

This has two main advantages:

- No need to manually duplicate enum values in the doc-strings of
  functions defined in Python's C/API (not RNA defined functions),
  `bpy.props` for example.

- The generated Python API docs can reference these instead of including
  the enums in-line - resulting in unreasonably long lists in the case
  if icons and event types (for example).

These changes will be made separately.
2022-05-31 14:18:32 +10:00
..
examples Cleanup: format 2022-05-18 12:17:42 +10:00
rst Python API: warn that the bgl module is deprecated in the docs 2022-05-19 21:21:28 +02:00
static Python API Docs: Hide version swtich 2022-02-22 14:39:51 -05:00
templates Py Docs: Implement version switch to switch between versions on the website 2022-02-03 14:25:26 -05:00
requirements.txt PyDocs: Update theme to latest version 2021-09-14 23:16:38 -04:00
rst_from_bmesh_opdefines.py File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
sphinx_changelog_gen.py File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
sphinx_doc_gen.py PyDoc: document static enums from RNA_enum_items.h 2022-05-31 14:18:32 +10:00
sphinx_doc_gen_monkeypatch.py File headers: SPDX License migration 2022-02-11 09:14:36 +11:00