Skip to content

Support per-enum-value comments #62

@brandon-leapyear

Description

@brandon-leapyear

Description

sphinx-autodoc supports the use of #: comments to document class attributes (ref). It would be great to have the same support in enum_tools

e.g.

class MyEnum(Enum):
    #: This is an A value
    A = auto()

    #: This is another value
    B = auto()

Version

  • Operating System:
  • Python:
  • enum_tools:

Other Additional Information:

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions