Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intersphinx: fix inventory forward slashes url #12807

Merged

Conversation

picnixz
Copy link
Member

@picnixz picnixz commented Aug 20, 2024

This reverts something I incorrectly did when refactoring Intersphinx. By the way, I'm not sure if we should actually normalize the project.target_uri value by removing all forward slashes in advance or if we should instead use urllib since we are dealing with some remote content.

Fixes #12782.

@AA-Turner
Copy link
Member

Can we add a test?

A

@picnixz
Copy link
Member Author

picnixz commented Aug 21, 2024

Yes, we can. I'll prepare it now.

@picnixz picnixz requested a review from AA-Turner August 21, 2024 16:55
@AA-Turner AA-Turner merged commit 1852d0f into sphinx-doc:master Aug 22, 2024
22 checks passed
@picnixz picnixz deleted the fix-inventory-forward-slashes-url branch August 22, 2024 09:15
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2024
@AA-Turner AA-Turner added this to the 8.1.x milestone Oct 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Double slashes when generating the inventory file URL
3 participants