-
Notifications
You must be signed in to change notification settings - Fork 279
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
DOCS: replace napolean with numpydoc for the API docs. #5910
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5910 +/- ##
=======================================
Coverage 89.76% 89.77%
=======================================
Files 93 93
Lines 22982 22995 +13
Branches 5006 5011 +5
=======================================
+ Hits 20630 20643 +13
Misses 1622 1622
Partials 730 730 ☔ View full report in Codecov by Sentry. |
⏱️ Performance Benchmark Report: 38c6a75Performance shifts
Full benchmark results
Generated by GHA run |
* upstream/main: Enhance Cube slicing docs (SciTools#5735) Bump scitools/workflows from 2024.04.0 to 2024.04.1 (SciTools#5914) [pre-commit.ci] pre-commit autoupdate (SciTools#5913) Revert "Updated environment lockfiles (SciTools#5911)" (SciTools#5912) Shapefile user guide typos (SciTools#5759) Updated environment lockfiles (SciTools#5911)
⏱️ Performance Benchmark Report: 46ad6cdPerformance shifts
Full benchmark results
Generated by GHA run |
⏱️ Performance Benchmark Report: a901752Performance shifts
Full benchmark results
Generated by GHA run |
🚀 Pull Request
WIP. DO NOT REVIEW OR MERGE
Description
Retires napolean in favour of numpydoc. This is more compatible with the numpy docstrings we now use. It also allows us to use nitpicky to check all cross referencing in our docs.
nitpicky is only used when using
make html-nitpicky
. This allows us to improve the docs without having to deal with all the warnings in one go.This PR will change how the API Docs look, in particular the layout of the parameters bullet points.
Napolean (old)
numpdoc (new)
Consult Iris pull request check list
Add any of the below labels to trigger actions on this PR: