This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
Use napoleon instead of numpydoc (xarray doc alignment), and fixes #298
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motives
This issue aims to fix the build fail in #286
Also, hopefully it can help facilitate the merging into the xarray repo (documentation alignment)
Checklist
[x] Tests addedpre-commit run --all-files
[x] New functions/methods are listed inapi.rst
[x] Changes are summarized indocs/source/whats-new.rst
Contents
Related to the issue
numpydoc
CI dependencypickleshare
CI dependency to fix warnings happening duringmake html
locally, that could probably happen in the CI tooDataTree.imag
andDataTree.real
, they were raising warnings duringmake html
napoleon_
prefixed configuration variables inconf.py
, from xarray repository: See https://github.com/pydata/xarray/blob/492aa076bd1812af71d68dc221312fb9a199d2d3/doc/conf.py#L118html_static_path
inconf.py
- it was raising a warning during doc build (unsure about this ❓)howdoi
in index.rst, to fix a warningMisc
.vscode
pre-commit run --all-files
passOpen points
html_static_path
inconf.py
be kept? @TomNicholasNotes
Locally, I
pip install pickleshare
to remove the warnings related to itThere are still warnings, I did not fix them all when I was unsure how to fix them. Here is the console output of the
make html
command: