8000 adding intersphinx · matplotlib/matplotlib@c3f5715 · GitHub
[go: up one dir, main page]

Skip to content

Commit c3f5715

Browse files
committed
adding intersphinx
1 parent 596ceec commit c3f5715

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

doc/conf.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
extensions = ['matplotlib.sphinxext.mathmpl', 'sphinxext.math_symbol_table',
3030
'sphinx.ext.autodoc', 'matplotlib.sphinxext.only_directives',
3131
'sphinx.ext.doctest', 'sphinx.ext.autosummary',
32-
'sphinx.ext.inheritance_diagram',
32+
'sphinx.ext.inheritance_diagram', 'sphinx.ext.intersphinx',
3333
'sphinx_gallery.gen_gallery',
3434
'matplotlib.sphinxext.plot_directive',
3535
'sphinxext.github',
@@ -88,6 +88,13 @@ def _check_deps():
8888

8989
autodoc_docstring_signature = True
9090

91+
intersphinx_mapping = {
92+
'python': ('https://docs.python.org/', None),
93+
'numpy': ('https://docs.scipy.org/doc/numpy/', None),
94+
'scipy': ('https://docs.scipy.org/doc/scipy/reference/', None),
95+
'pandas': ('https://pandas.pydata.org/pandas-docs/stable', None)
96+
}
97+
9198

9299
# Sphinx gallery configuration
93100
sphinx_gallery_conf = {

0 commit comments

Comments
 (0)
0