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
Owner

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?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
No description provided.