blender/doc
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
..
blender_file_format Cleanup: autopep8 2022-04-26 15:03:04 +10:00
doxygen Blender 3.3 bcon1 - alpha 2022-05-02 10:28:30 +02:00
guides Spelling fixes in comments and descriptions, patch by luzpaz 2019-07-31 14:27:35 +02:00
license Docs: add license text file for LGPL2.1 2022-03-18 10:27:01 +11:00
manpage Cleanup: run autopep8 on doc/ 2022-04-20 15:10:14 +10:00
python_api PyDoc: document static enums from RNA_enum_items.h 2022-05-31 14:18:32 +10:00