Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e6ebe54

Browse files
committed
DOC: Add trailing slashes to URLs in config.
It seems that sphinx-gallery adds a path to this directly, so the trailing slash is needed to create the correct links.
1 parent d894756 commit e6ebe54

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/conf.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,13 @@ def _check_dependencies():
114114

115115
intersphinx_mapping = {
116116
'Pillow': ('https://pillow.readthedocs.io/en/stable/', None),
117-
'cycler': ('https://matplotlib.org/cycler', None),
117+
'cycler': ('https://matplotlib.org/cycler/', None),
118118
'dateutil': ('https://dateutil.readthedocs.io/en/stable/', None),
119119
'ipykernel': ('https://ipykernel.readthedocs.io/en/latest/', None),
120120
'numpy': ('https://numpy.org/doc/stable/', None),
121121
'pandas': ('https://pandas.pydata.org/pandas-docs/stable/', None),
122-
'pytest': ('https://pytest.org/en/stable', None),
123-
'python': ('https://docs.python.org/3', None),
122+
'pytest': ('https://pytest.org/en/stable/', None),
123+
'python': ('https://docs.python.org/3/', None),
124124
'scipy': ('https://docs.scipy.org/doc/scipy/reference/', None),
125125
}
126126

@@ -133,8 +133,8 @@ def _check_dependencies():
133133
'doc_module': ('matplotlib', 'mpl_toolkits'),
134134
'reference_url': {
135135
'matplotlib': None,
136-
'numpy': 'https://docs.scipy.org/doc/numpy',
137-
'scipy': 'https://docs.scipy.org/doc/scipy/reference',
136+
'numpy': 'https://docs.scipy.org/doc/numpy/',
137+
'scipy': 'https://docs.scipy.org/doc/scipy/reference/',
138138
},
139139
'backreferences_dir': 'api/_as_gen',
140140
'subsection_order': gallery_order.sectionorder,

0 commit comments

Comments
 (0)