-
Notifications
You must be signed in to change notification settings - Fork 15
Option to show macro's value #236
Copy link
Copy link
Open
Labels
Description
Thanks for the great plugin!
Not sure if this is already supported or not, but it could be useful in some situations to also show the macro's value in the rendered documentation.
Something like:
.. c:automacro:: MY_MACRO
:file: example.h
:show_value: True
I'm in a situation where I need to document a cross-language API, and there are several constants defined in macros that would be useful to propagate to the docs. For now, I'm working around by duplicating the macro value in the docstring comment.
Reactions are currently unavailable