Skip to content

Commit 72ffff5

Browse files
authored
Fix broken Sphinx Roles (pydata#10225)
* fix missing colon in sphinx roles * add space after comma for two broken roles
1 parent 430d642 commit 72ffff5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/whats-new.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ Bug fixes
724724
- Promote floating-point numeric datetimes before decoding (:issue:`9179`, :pull:`9182`).
725725
By `Justus Magin <https://github.com/keewis>`_.
726726
- Address regression introduced in :pull:`9002` that prevented objects returned
727-
by py:meth:`DataArray.convert_calendar` to be indexed by a time index in
727+
by :py:meth:`DataArray.convert_calendar` to be indexed by a time index in
728728
certain circumstances (:issue:`9138`, :pull:`9192`).
729729
By `Mark Harfouche <https://github.com/hmaarrfk>`_ and `Spencer Clark <https://github.com/spencerkclark>`_.
730730
- Fix static typing of tolerance arguments by allowing ``str`` type (:issue:`8892`, :pull:`9194`).
@@ -1698,7 +1698,7 @@ Documentation
16981698
- Added page on the internal design of xarray objects.
16991699
(:pull:`7991`) By `Tom Nicholas <https://github.com/TomNicholas>`_.
17001700
- Added examples to docstrings of :py:meth:`Dataset.assign_attrs`, :py:meth:`Dataset.broadcast_equals`,
1701-
:py:meth:`Dataset.equals`, :py:meth:`Dataset.identical`, :py:meth:`Dataset.expand_dims`,:py:meth:`Dataset.drop_vars`
1701+
:py:meth:`Dataset.equals`, :py:meth:`Dataset.identical`, :py:meth:`Dataset.expand_dims`, :py:meth:`Dataset.drop_vars`
17021702
(:issue:`6793`, :pull:`7937`) By `Harshitha <https://github.com/harshitha1201>`_.
17031703
- Add docstrings for the :py:class:`Index` base class and add some documentation on how to
17041704
create custom, Xarray-compatible indexes (:pull:`6975`)
@@ -1743,7 +1743,7 @@ Documentation
17431743
~~~~~~~~~~~~~
17441744

17451745
- Added examples to docstrings of :py:meth:`Dataset.assign_attrs`, :py:meth:`Dataset.broadcast_equals`,
1746-
:py:meth:`Dataset.equals`, :py:meth:`Dataset.identical`, :py:meth:`Dataset.expand_dims`,:py:meth:`Dataset.drop_vars`
1746+
:py:meth:`Dataset.equals`, :py:meth:`Dataset.identical`, :py:meth:`Dataset.expand_dims`, :py:meth:`Dataset.drop_vars`
17471747
(:issue:`6793`, :pull:`7937`) By `Harshitha <https://github.com/harshitha1201>`_.
17481748
- Added page on wrapping chunked numpy-like arrays as alternatives to dask arrays.
17491749
(:pull:`7951`) By `Tom Nicholas <https://github.com/TomNicholas>`_.

xarray/core/dataarray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ class DataArray(
353353
Attributes to assign to the new instance. By default, an empty
354354
attribute dictionary is initialized.
355355
(see FAQ, :ref:`approach to metadata`)
356-
indexes : py:class:`~xarray.Indexes` or dict-like, optional
356+
indexes : :py:class:`~xarray.Indexes` or dict-like, optional
357357
For internal use only. For passing indexes objects to the
358358
new DataArray, use the ``coords`` argument instead with a
359359
:py:class:`~xarray.Coordinate` object (both coordinate variables

0 commit comments

Comments
 (0)