Skip to content

fix: remove trailing slashes from intersphinx#4886

Merged
willingc merged 1 commit intopython:mainfrom
miketheman:miketheman/fix-intersphinx
Apr 5, 2026
Merged

fix: remove trailing slashes from intersphinx#4886
willingc merged 1 commit intopython:mainfrom
miketheman:miketheman/fix-intersphinx

Conversation

@miketheman
Copy link
Copy Markdown
Member

@miketheman miketheman commented Apr 4, 2026

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: ...

📚 Documentation preview 📚: https://pep-previews--4886.org.readthedocs.build/

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>
@miketheman miketheman requested a review from AA-Turner as a code owner April 4, 2026 20:01
Copy link
Copy Markdown
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The warnings go away in Sphinx 9, but we're still on 8 because of #4087.

But I also see the examples at https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#configuration are all mostly without trailing slashes, so let's just do this.

Copy link
Copy Markdown
Contributor

@willingc willingc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @miketheman and @hugovk

@willingc willingc merged commit 37f4a0a into python:main Apr 5, 2026
6 checks passed
@miketheman miketheman deleted the miketheman/fix-intersphinx branch April 5, 2026 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants