-
-
Notifications
You must be signed in to change notification settings - Fork 167
dependency on sphinx.ext.autosummary #141
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
Comments
Strictly this is only true if numpydoc_show_class_members is true (which it is by default) add numpydoc processes class docstrings, or if the class docstrings explicitly list methods. But assuming there is minimal risk in automatically installing autosummary, I am +1 for this. |
I guess you can even delay loading sphinx.ext.autosummary until the point where you actually know you'll need it, but that seems a bit overengineering it. |
Is calling other extension's setup.py the right way to do extension
dependencies in Sphinx?
|
Actually the correct way seems to be to call |
Would you like to submit a PR? Thanks |
Nah, you get to do it :-) (no hurry) |
It appears that numpydoc has a hard dependency on sphinx.ext.autosummary being active (it inserts some
.. autosummary::
directives). This is fine, but perhapsnumpydoc.setup
should just callsphinx.ext.autosummary.setup
in that case? (in the sense that I don't see much of a point in erroring out instead, which is the current behavior if sphinx.ext.autosummary is not listed in conf.py)The text was updated successfully, but these errors were encountered: