Skip to content

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Oct 23, 2018

setup() calls app.setup_extension('sphinx.ext.autosummary') so that
end users who add numpydoc to their extension list don't need to declare
a dependency on autosummary, but we may just as well move the call to
setup_extension even earlier, which also removes the need to declare a
dependency on autodoc (as autosummary will initialize it).

Otherwise, users need to be careful to have autodoc before numpydoc
in their extension list; without that they get an "Unknown event name:
autodoc-process-docstring" error.

`setup()` calls `app.setup_extension('sphinx.ext.autosummary')` so that
end users who add numpydoc to their extension list don't need to declare
a dependency on autosummary, but we may just as well move the call to
setup_extension even earlier, which also removes the need to declare a
dependency on autodoc (as autosummary will initialize it).

Otherwise, users need to be careful to have autodoc *before* numpydoc
in their extension list; without that they get an "Unknown event name:
autodoc-process-docstring" error.
@anntzer
Copy link
Contributor Author

anntzer commented Jan 2, 2019

kindly bumping

@jnothman
Copy link
Member

jnothman commented Jan 2, 2019

Thanks.

@jnothman jnothman merged commit 2ab437d into numpy:master Jan 2, 2019
@anntzer anntzer deleted the early-autosummary branch January 2, 2019 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants