Skip to content

Commit 37f4a0a

Browse files
authored
fix: remove trailing slashes from intersphinx (#4886)
Some trailing slashes will redirect to remove the duplicate slashes, save some traffic. Resolves build-time logged lines that look like: intersphinx inventory has moved: ... Signed-off-by: Mike Fiedler <miketheman@gmail.com>
1 parent 2436eac commit 37f4a0a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

peps/conf.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,17 @@
6969

7070
# Intersphinx configuration (keep this in alphabetical order)
7171
intersphinx_mapping = {
72-
"devguide": ("https://devguide.python.org/", None),
73-
"mypy": ("https://mypy.readthedocs.io/en/latest/", None),
74-
"packaging": ("https://packaging.python.org/en/latest/", None),
75-
"py3.11": ("https://docs.python.org/3.11/", None),
76-
"py3.12": ("https://docs.python.org/3.12/", None),
77-
"py3.13": ("https://docs.python.org/3.13/", None),
78-
"py3.14": ("https://docs.python.org/3.14/", None),
79-
"py3.15": ("https://docs.python.org/3.15/", None),
80-
"python": ("https://docs.python.org/3/", None),
81-
"trio": ("https://trio.readthedocs.io/en/latest/", None),
82-
"typing": ("https://typing.python.org/en/latest/", None),
72+
"devguide": ("https://devguide.python.org", None),
73+
"mypy": ("https://mypy.readthedocs.io/en/latest", None),
74+
"packaging": ("https://packaging.python.org/en/latest", None),
75+
"py3.11": ("https://docs.python.org/3.11", None),
76+
"py3.12": ("https://docs.python.org/3.12", None),
77+
"py3.13": ("https://docs.python.org/3.13", None),
78+
"py3.14": ("https://docs.python.org/3.14", None),
79+
"py3.15": ("https://docs.python.org/3.15", None),
80+
"python": ("https://docs.python.org/3", None),
81+
"trio": ("https://trio.readthedocs.io/en/latest", None),
82+
"typing": ("https://typing.python.org/en/latest", None),
8383
}
8484
intersphinx_disabled_reftypes = []
8585

0 commit comments

Comments
 (0)