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

Redirect old top-level files to versioned docs #41

Merged
merged 3 commits into from
Oct 24, 2024

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Oct 9, 2024

This adds redirects to top-level files by requesting that Caddy checks /stable, and then descending versions since /3.5.0 to create a redirect to the first match.

Also, it moves third-party packages to /thirdpartypackages as we decided in a call some time ago, adds a shorthand /3pp redirect, and redirects from /mpl-third-party/*.

This can be tested on https://pluto.matplotlib.org/

This warns for every call to the `subproject` snippet.
Also, add an alias of `/3pp` and redirect the `/mpl-third-party` path to
the new path.
@QuLogic QuLogic marked this pull request as ready for review October 18, 2024 05:08
@tacaswell tacaswell merged commit e8e37f7 into matplotlib:main Oct 24, 2024
4 checks passed
@QuLogic QuLogic deleted the redirects branch October 24, 2024 19:32
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