Skip to content

Commit 773e3c4

Browse files
committed
DOC: Fix intersphinx mapping and reference type
1 parent 26a9886 commit 773e3c4

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Changelog

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ Enhancements
4343
------------
4444
* Add :meth:`~nibabel.arrayproxy.ArrayProxy.copy` method to
4545
:class:`~nibabel.arrayproxy.ArrayProxy` (pr/1255) (CM, reviewed by Paul McCarthy)
46-
* Permit :meth:`~nibabel.xmlutils.XmlSerializable.to_xml` to pass keyword
47-
arguments to :meth:`~xml.etree.ElementTree.tostring` (pr/1258)
46+
* Permit :meth:`~nibabel.xmlutils.XmlSerializable.to_xml` methods to pass keyword
47+
arguments to :func:`xml.etree.ElementTree.tostring` (pr/1258)
4848
(CM)
4949
* Allow user expansion (e.g., ``~/...``) in strings passed to functions that
5050
accept paths (pr/1260) (Reinder Vos de Wael, reviewed by CM)

doc/source/conf.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,12 @@
280280

281281

282282
# Example configuration for intersphinx: refer to the Python standard library.
283-
intersphinx_mapping = {'https://docs.python.org/3/': None}
283+
intersphinx_mapping = {
284+
'python': ('https://docs.python.org/3', None),
285+
'numpy': ('https://numpy.org/doc/stable', None),
286+
'scipy': ('https://docs.scipy.org/doc/scipy', None),
287+
'matplotlib': ('https://matplotlib.org/stable', None),
288+
}
284289

285290
# Config of plot_directive
286291
plot_include_source = True

0 commit comments

Comments
 (0)