-
Notifications
You must be signed in to change notification settings - Fork 11
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
cloup.Color
cannot be rendered by Sphinx: Exception: you can't set attributes on this class
#177
Comments
This should be reported to autodoc maintainers, there's no bug here. I guess we can add an exception for |
Thanks @janluke for the quick reply. You're right, so I opened an issue upstream in Sphinx at: sphinx-doc/sphinx#11986 . We'll see if it get some attention. |
I can confirm the issue is fixed by the new 3.0.5 release. Thanks @janluke ! 😎 |
Bug description
When trying to generate documentation with Sphinx, its
autodoc
plugin trips oncloup.Color
. The latter cannot be rendered in Sphinx becausecloup/_util.py::FrozenSpaceMeta.__setattr__()
is always raising an exception.To Reproduce
This happened in my Click Extra project, in which I re-expose
cloup.Color
in myclick_extra
module via__all__
.Here is the full traceback of Sphinx trying to generate the documentation of Click Extra:
The text was updated successfully, but these errors were encountered: