-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace Sphinx napoleon for numpydoc
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
- Loading branch information
1 parent
07b270b
commit ca2758f
Showing
4 changed files
with
6 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
sphinx==7.2.* | ||
numpydoc==1.7.* | ||
sphinx-book-theme==1.1.* | ||
sphinx-gallery==0.15.* | ||
sphinx-copybutton==0.5.* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters