Add record descriptor info to plugin doc pages#97
Add record descriptor info to plugin doc pages#97JSCU-CNI wants to merge 2 commits intofox-it:mainfrom
Conversation
|
For your information (I'm not sure if there's a public ticket for this), the long term plan is to add support for dataclass-style declaration of record descriptors, so that you could properly attach (and extract) a docstring per field. This is already a great start in the meantime, much appreciated! |
That sounds like an excellent improvement for record descriptors. Has any effort been put into this yet? |
Not yet, unfortunately. The rough idea was to create a backwards compatible interface. Maybe experiment with a translation to the current scheme first (so separate |
This PR attempts to add RecordDescriptor information of plugins to the documentation page of every plugin. Also groups namespace plugins in nested folders where applicable.
Still uncertain how to format variants of plugins. Perhaps they should be grouped differently to prevent confusing output (e.g. locale and network plugins). Preferably plugin class and function docstrings would go directly below the title of the page, followed by the CLI example.
Example pages: