Commit ba74979
docs(waterdata.xarray): emit valid numpydoc from the wrapper docstrings
_xr_doc prepended a 4-space-indented note to the wrapped getter's docstring;
because the wrapped first line is unindented, inspect.getdoc's dedent broke and
left the Parameters/Returns sections over-indented, so napoleon (the package
uses numpydoc) mis-rendered them. Build a column-0 summary paragraph and append
the cleandoc'd body so the combined docstring is valid numpydoc.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3274d91 commit ba74979
1 file changed
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
761 | 762 | | |
762 | 763 | | |
763 | 764 | | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
764 | 769 | | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
769 | 774 | | |
770 | | - | |
| 775 | + | |
| 776 | + | |
771 | 777 | | |
772 | 778 | | |
773 | 779 | | |
| |||
0 commit comments