Skip to content

Add a permanent redirect for objects.inv -> stable/objects.inv #9

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

Merged
merged 1 commit into from
Mar 10, 2022

Conversation

tacaswell
Copy link
Member

see discussion at
matplotlib/matplotlib#22601 (comment)

This should make sphinx issues warnings that the objects.inv has moved and
generate correct links.

@tacaswell tacaswell force-pushed the object.inv_redirect branch from f947d34 to bdc319d Compare March 10, 2022 16:17
see discussion at
matplotlib/matplotlib#22601 (comment)

This should make sphinx issues warnings that the objects.inv has moved and
generate correct links.
@QuLogic QuLogic merged commit 6af8177 into matplotlib:main Mar 10, 2022
@tacaswell tacaswell deleted the object.inv_redirect branch March 10, 2022 22:54
@tacaswell
Copy link
Member Author

This is working as expected:

In [1]: import requests

In [2]: r = requests.get('https://matplotlib.org/objects.inv')

In [3]: r.url
Out[3]: 'https://matplotlib.org/stable/objects.inv'

so I think intersphinx will now both work and give a warning!

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.

2 participants