Skip to content

Commit

Permalink
DOC: Fix intersphinx mapping and reference type
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Dec 12, 2023
1 parent 26a9886 commit 773e3c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Enhancements
------------
* Add :meth:`~nibabel.arrayproxy.ArrayProxy.copy` method to
:class:`~nibabel.arrayproxy.ArrayProxy` (pr/1255) (CM, reviewed by Paul McCarthy)
* Permit :meth:`~nibabel.xmlutils.XmlSerializable.to_xml` to pass keyword
arguments to :meth:`~xml.etree.ElementTree.tostring` (pr/1258)
* Permit :meth:`~nibabel.xmlutils.XmlSerializable.to_xml` methods to pass keyword
arguments to :func:`xml.etree.ElementTree.tostring` (pr/1258)
(CM)
* Allow user expansion (e.g., ``~/...``) in strings passed to functions that
accept paths (pr/1260) (Reinder Vos de Wael, reviewed by CM)
Expand Down
7 changes: 6 additions & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,12 @@


# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/3/': None}
intersphinx_mapping = {
'python': ('https://docs.python.org/3', None),
'numpy': ('https://numpy.org/doc/stable', None),
'scipy': ('https://docs.scipy.org/doc/scipy', None),
'matplotlib': ('https://matplotlib.org/stable', None),
}

# Config of plot_directive
plot_include_source = True
Expand Down

0 comments on commit 773e3c4

Please sign in to comment.