-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Move from numpydoc to sphinxcontrib-napoleon #5731
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
Google or NumPy style? There are some inconsistencies in at least |
We should definitely stick with numpydoc style (and put in the effort to pull all of our docstrings up to standards). |
Just a ditto for Numpydoc style -- that's the more prevalent one in the "scipy ecosystem". Though my sense of napoleon is that it's a bit stricter than numpydoc and will probably find some problems in our docstrings. |
I think we're pretty much using numpydoc everywhere now, so I'll close this. Feel free to re-open if I'm wrong. |
This is about using the Sphinx-provided napoleon extension instead of the external numpydoc one; I don't know if we still want to do that. |
napoleon is a more general replacement for numpydoc docstring support and ships with Sphinx since 1.3.
There seem to be subtle differences, however, and so it will take some manual updating to our docstrings to get this to work.
The text was updated successfully, but these errors were encountered: