Skip to content

Commit d41ad64

Browse files
committed
remove duplicate intersphinx
1 parent 2bea511 commit d41ad64

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

docs/sphinx/source/conf.py

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -57,20 +57,18 @@
5757
'sphinx_toggleprompt',
5858
'sphinx_favicon',
5959
'hoverxref.extension',
60-
'sphinx.ext.intersphinx',
6160
]
6261

6362
mathjax3_config = {'chtml': {'displayAlign': 'left',
6463
'displayIndent': '2em'}}
6564

66-
# used with hoverxref to link to other projects' documentation not hosted by
67-
# readthedocs
65+
# Example configuration for intersphinx: refer to the Python standard library.
6866
intersphinx_mapping = {
69-
"python": ("https://docs.python.org/3/", None),
70-
"sphinx": ("https://www.sphinx-doc.org/en/master/", None),
71-
"numpy": ("https://numpy.org/doc/stable", None),
72-
"scipy": ("https://docs.scipy.org/doc/scipy", None),
73-
"matplotlib": ("https://matplotlib.org/stable/", None),
67+
'python': ('https://docs.python.org/3/', None),
68+
'numpy': ('https://numpy.org/doc/stable/', None),
69+
'scipy': ('https://docs.scipy.org/doc/scipy/reference/', None),
70+
'pandas': ('https://pandas.pydata.org/pandas-docs/stable', None),
71+
'matplotlib': ('https://matplotlib.org/stable', None),
7472
}
7573

7674
# Enable hover tooltips
@@ -376,15 +374,6 @@ def setup(app):
376374
# If true, do not generate a @detailmenu in the "Top" node's menu.
377375
# texinfo_no_detailmenu = False
378376

379-
# Example configuration for intersphinx: refer to the Python standard library.
380-
intersphinx_mapping = {
381-
'python': ('https://docs.python.org/3/', None),
382-
'numpy': ('https://numpy.org/doc/stable/', None),
383-
'scipy': ('https://docs.scipy.org/doc/scipy/reference/', None),
384-
'pandas': ('https://pandas.pydata.org/pandas-docs/stable', None),
385-
'matplotlib': ('https://matplotlib.org/stable', None),
386-
}
387-
388377
ipython_warning_is_error = False
389378

390379
# suppress "WARNING: Footnote [1] is not referenced." messages

0 commit comments

Comments
 (0)