Open brandon-leapyear opened 2 years ago
It is already implemented as long as you use the decorator document_enum, see https://enum-tools.readthedocs.io/en/latest/api/documentation.html#enum_tools.documentation.document_enum.
This, however, adds this library as a runtime dependency to your project. That is not beautiful but currently up to my knowledge not avoidable.
Description
sphinx-autodoc supports the use of
#:
comments to document class attributes (ref). It would be great to have the same support inenum_tools
e.g.
Version
Other Additional Information: