From 198f070c05bf266596c57563c42c37fe5a8e64df Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Sat, 4 Apr 2026 15:58:54 -0400 Subject: [PATCH] fix: remove trailing slashes from intersphinx 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 --- peps/conf.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/peps/conf.py b/peps/conf.py index 55a1027d1ff..6daec648954 100644 --- a/peps/conf.py +++ b/peps/conf.py @@ -69,17 +69,17 @@ # Intersphinx configuration (keep this in alphabetical order) intersphinx_mapping = { - "devguide": ("https://devguide.python.org/", None), - "mypy": ("https://mypy.readthedocs.io/en/latest/", None), - "packaging": ("https://packaging.python.org/en/latest/", None), - "py3.11": ("https://docs.python.org/3.11/", None), - "py3.12": ("https://docs.python.org/3.12/", None), - "py3.13": ("https://docs.python.org/3.13/", None), - "py3.14": ("https://docs.python.org/3.14/", None), - "py3.15": ("https://docs.python.org/3.15/", None), - "python": ("https://docs.python.org/3/", None), - "trio": ("https://trio.readthedocs.io/en/latest/", None), - "typing": ("https://typing.python.org/en/latest/", None), + "devguide": ("https://devguide.python.org", None), + "mypy": ("https://mypy.readthedocs.io/en/latest", None), + "packaging": ("https://packaging.python.org/en/latest", None), + "py3.11": ("https://docs.python.org/3.11", None), + "py3.12": ("https://docs.python.org/3.12", None), + "py3.13": ("https://docs.python.org/3.13", None), + "py3.14": ("https://docs.python.org/3.14", None), + "py3.15": ("https://docs.python.org/3.15", None), + "python": ("https://docs.python.org/3", None), + "trio": ("https://trio.readthedocs.io/en/latest", None), + "typing": ("https://typing.python.org/en/latest", None), } intersphinx_disabled_reftypes = []