0

I have a big python enum class with many attributes, and I am wondering how I can generate documentation for it because if I wrote the docstrings for all 100+ attributes it would take a while and then be hard to maintain.

I am currently using material mkdocs for my documentation generation with mkdocstrings plugin.

AugustusCaesar
  • 175
  • 2
  • 14
  • How is any automatic documentation system supposed to know what each enum value represents? I don't see how you can avoid writing all of the descriptions, unless there's some pattern in them. – Barmar May 17 '23 at 20:42

0 Answers0