Skip to content

Commit 114af68

Browse files
committed
DOC: activate intersphinx extension
1 parent ec6b37f commit 114af68

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

doc/manual/source/conf.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@
3131

3232
# Add any Sphinx extension module names here, as strings. They can be extensions
3333
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
34-
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx',
35-
'sphinx.ext.napoleon']
34+
extensions = [
35+
'sphinx.ext.autodoc',
36+
'sphinx.ext.napoleon',
37+
'sphinx.ext.intersphinx',
38+
]
3639

3740
# Add any paths that contain templates here, relative to this directory.
3841
templates_path = ['_templates']
@@ -262,4 +265,7 @@
262265

263266

264267
# Example configuration for intersphinx: refer to the Python standard library.
265-
# intersphinx_mapping = {'http://docs.python.org/': None}
268+
intersphinx_mapping = {
269+
'numpy': ('https://docs.scipy.org/doc/numpy', None),
270+
'python' : ('https://docs.python.org/3.7', None),
271+
}

0 commit comments

Comments
 (0)