Parse __doc__ to retrieve bpy.types.Property description attributes when using BLField #14

Open
opened 2024-05-04 16:52:14 +02:00 by so-rose · 0 comments

Encourage the node designer to use docstrings, which double as "real" documentation, to describe all BLFields. The beautiful side effect of this is that the Blender documentation will

We can use griff (https://pypi.org/project/griffe/) for this. The only worry would be the performance of mass-parsing __doc__s on every startup; perhaps a services model could act as a "provider" of structured information about the code?

Encourage the node designer to use docstrings, which double as "real" documentation, to describe all `BLField`s. The beautiful side effect of this is that the Blender documentation will We can use `griff` (https://pypi.org/project/griffe/) for this. The only worry would be the performance of mass-parsing `__doc__`s on every startup; perhaps a `services` model could act as a "provider" of structured information about the code?
so-rose added the
enhancement
architecture
docs
labels 2024-05-04 16:52:14 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: so-rose/oscillode#14
There is no content yet.