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

Replace Sphinx napoleon for numpydoc #450

Merged
merged 5 commits into from
May 28, 2024
Merged

Replace Sphinx napoleon for numpydoc #450

merged 5 commits into from
May 28, 2024

Conversation

santisoler
Copy link
Member

Replace the built-in Sphinx plugin napoleon for numpydoc. This solves the issue of attributes with trailing underscore not rendering properly in docs. Add numpydoc as requirement for building the docs and add it to the Sphinx configuration file. Remove napoleon from Sphinx configuration. Remove the "Methods Summary" section in the Sphinx class template since numpydoc builds its own list of all methods.

Relevant issues/PRs:

Related to fatiando/community#149

Replace the builtin Sphinx plugin `napoleon` for `numpydoc`. This solves
the issue of attributes with trailing underscore not rendering properly
in docs. Add `numpydoc` as requirement for building the docs and add it
to the Sphinx configuration file. Remove `napoleon` from Sphinx
configuration. Remove the "Methods Summary" section in the Sphinx class
template since `numpydoc` builds its own list of all methods.

Related to fatiando/community#149
doc/conf.py Outdated Show resolved Hide resolved
@leouieda leouieda merged commit a4d51f6 into main May 28, 2024
18 checks passed
@leouieda leouieda deleted the numpydoc branch May 28, 2024 14:16
@leouieda
Copy link
Member

Thanks @santisoler!

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

Successfully merging this pull request may close these issues.

None yet

2 participants