Skip to content

Commit

Permalink
Replace enum documentation hack with enum-tools decorator (#136)
Browse files Browse the repository at this point in the history
* Include `enum_tools`

* Set up enum documentation with `document_enum`

* Remove documentation hack from `RepresentableEnum`

* Add missing `enum-tools` dependency to `setup.py`
  • Loading branch information
lukasjuhrich committed Mar 28, 2024
1 parent 3df572f commit 106f5e8
Show file tree
Hide file tree
Showing 5 changed files with 146 additions and 128 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
'sphinx.ext.todo',
'sphinx.ext.doctest',
'sphinx.ext.viewcode',
'enum_tools.autoenum',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
Loading

0 comments on commit 106f5e8

Please sign in to comment.