Skip to content

Commit 66a8aee

Browse files
authored
Remove trailing / from interspinx_mapping to avoid verbose redirection in logs (#4661)
2 parents adb8374 + c328b85 commit 66a8aee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: docs/conf.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
# Allow linking objects on other Sphinx sites seamlessly:
192192
intersphinx_mapping.update(
193193
# python=('https://docs.python.org/3', None),
194-
python=('https://docs.python.org/3.11/', None),
194+
python=('https://docs.python.org/3.11', None),
195195
# ^-- Python 3.11 is required because it still contains `distutils`.
196196
# Just leaving it as `3` would imply 3.12+, but that causes an
197197
# error with the cross references to distutils functions.
@@ -237,9 +237,9 @@
237237
intersphinx_mapping.update({
238238
'pip': ('https://pip.pypa.io/en/latest', None),
239239
'build': ('https://build.pypa.io/en/latest', None),
240-
'PyPUG': ('https://packaging.python.org/en/latest/', None),
241-
'packaging': ('https://packaging.pypa.io/en/latest/', None),
242-
'twine': ('https://twine.readthedocs.io/en/stable/', None),
240+
'PyPUG': ('https://packaging.python.org/en/latest', None),
241+
'packaging': ('https://packaging.pypa.io/en/latest', None),
242+
'twine': ('https://twine.readthedocs.io/en/stable', None),
243243
'importlib-resources': (
244244
'https://importlib-resources.readthedocs.io/en/latest',
245245
None,

0 commit comments

Comments
 (0)