Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enumeration Members Without Docstring Do Not Get Rendered Anymore Since v12.2.0 #455

Closed
lovetheguitar opened this issue Nov 10, 2022 · 2 comments · Fixed by #457
Closed
Labels

Comments

@lovetheguitar
Copy link

Problem Description

With pdoc==12.1.0 enumeration members are rendered nicely, with and without a docstring.
After upgrading to 12.2.0 all the enumarations get rendered as "empty classes", when not every single item has a docstring.

I saw #411 which seems to improve dataclass documentation but IMHO broke enumeration documentation.

@lovetheguitar lovetheguitar changed the title Enumerations Without Docstring Are Not Documented Anymore Since v12.2.0 Enumeration Members Without Docstring Do Not Get Rendered Anymore Since v12.2.0 Nov 10, 2022
mhils added a commit to mhils/pdoc that referenced this issue Nov 10, 2022
mhils added a commit to mhils/pdoc that referenced this issue Nov 10, 2022
mhils added a commit to mhils/pdoc that referenced this issue Nov 10, 2022
@mhils
Copy link
Member

mhils commented Nov 10, 2022

Thanks for the report! 🍰 I'll ship a patch release with a fix. :)

@lovetheguitar
Copy link
Author

Thanks for the report! 🍰 I'll ship a patch release with a fix. :)

Very welcome. Thanks for the blazingly fast fix! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants