Title: Redirect old pages in users folder by ImportanceOfBeingErnest · Pull Request #41 · matplotlib/matplotlib.github.com · GitHub
Open Graph Title: Redirect old pages in users folder by ImportanceOfBeingErnest · Pull Request #41 · matplotlib/matplotlib.github.com
X Title: Redirect old pages in users folder by ImportanceOfBeingErnest · Pull Request #41 · matplotlib/matplotlib.github.com
Description: Closes matplotlib/matplotlib#15213, i.e. a search for something like "matplotlib rcparams" would lead to https://matplotlib.org/users/customizing.html, which is an abandonned version of the current https://matplotlib.org/tutorials/introductory/customizing.html Also tackles #39 (comment) by @Carreau (who has already added canonical links to a huge bunch of files in an automated way). This PR only touches the users/ folder. That folder contains content from the current docs, as well as totally old stuff from the mpl 1.5 docs. It is hence particularly hard to handle it in an automated way. Here the following is done: Since this folder is not versionned, it's best to redirect all old html files to the canonical version of the current docs. Also, a canonical link is added. E.g. for users/annotations.html But for example users/style_changes.html redirect to users/dflt_style_changes.html, there are other special cases as well. images and .py files are deleted if they are not part of the current docs any more. This might break very rare cases where someone directly linked to an image in the users folder, but I think one needs to make a cut at some point. Also the respective current docs often overwrite older images from the whats_new section anyways. The old files are still in the versionned folders, e.g. 2.0.2/users/..., in case they are desperately needed. I expect the users/ folder to take a large portion of page hits to outdated files, but it would be nice to verify via some analytics, c.f. #23 (comment), @tacaswell.
Open Graph Description: Closes matplotlib/matplotlib#15213, i.e. a search for something like "matplotlib rcparams" would lead to https://matplotlib.org/users/customizing.html, which is an abandonned version of t...
X Description: Closes matplotlib/matplotlib#15213, i.e. a search for something like "matplotlib rcparams" would lead to https://matplotlib.org/users/customizing.html, which is an abandonned vers...
Opengraph URL: https://github.com/matplotlib/matplotlib.github.com/pull/41
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b18d62e9-055b-dcc5-417e-c09a3cb90d6f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9DA2:186324:889F0A:B57A60:6A52B02A |
| html-safe-nonce | 750c1d503011ca32ab9fe7a83d4495942bde31156fdaa7e84ef3d21bea340fbb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REEyOjE4NjMyNDo4ODlGMEE6QjU3QTYwOjZBNTJCMDJBIiwidmlzaXRvcl9pZCI6Ijg5OTExMzk3NjM5MTk2OTU5MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dd66f875021d2f08d9ae7e2b1b161bf97d0fb6461542d56f816e3e0e97d5910f |
| hovercard-subject-tag | pull_request:315234524 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib.github.com/pull/41/files |
| twitter:image | https://avatars.githubusercontent.com/u/23121882?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/23121882?s=400&v=4 |
| og:image:alt | Closes matplotlib/matplotlib#15213, i.e. a search for something like "matplotlib rcparams" would lead to https://matplotlib.org/users/customizing.html, which is an abandonned version of t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/matplotlib/matplotlib.github.com git https://github.com/matplotlib/matplotlib.github.com.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385150 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib.github.com |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385150 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib.github.com |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width