Title: Mark stale docs at top-level with warning banner by JazzTap · Pull Request #25 · matplotlib/matplotlib.github.com · GitHub
Open Graph Title: Mark stale docs at top-level with warning banner by JazzTap · Pull Request #25 · matplotlib/matplotlib.github.com
X Title: Mark stale docs at top-level with warning banner by JazzTap · Pull Request #25 · matplotlib/matplotlib.github.com
Description: Here's another horrifying (but orthogonal) script-generated commit, building upon 'cleanup.py' (-> 'cleanup.ipynb'). It deprecates any HTML in the following folders which doesn't appear in the (given, in this case '2.2.2') current release. 'gallery', 'examples', 'mpl_examples', 'plot_directive', 'devel', 'users', 'api', 'faq', 'glossary' 'Deprecation' means putting a sticky red banner in, with a suggested search string. Bots are not forwarded (via rel='canonical') because we don't know where the content went. Even if the page has obviously just been refiled (e.g. tight layout guide), we punt to the search engine to do the fuzzy match. Stale .py or .pdf (but not .png, e.g. in _images) files found in top-level (unversioned) docs are removed. This does break outdated examples' 'Source code' links. (Also, we could check HTML title elements for the outdated version string.) Edit: Oops, rerunning the script not only stacks 'unreleased-message' banners but is its main use case, fixing tomorrow. Will alias the style ('stale-docs-message') too.
Open Graph Description: Here's another horrifying (but orthogonal) script-generated commit, building upon 'cleanup.py' (-> 'cleanup.ipynb'). It deprecates any HTML in the following folders which doe...
X Description: Here's another horrifying (but orthogonal) script-generated commit, building upon 'cleanup.py' (-> 'cleanup.ipynb'). It deprecates any HTML in the fol...
Opengraph URL: https://github.com/matplotlib/matplotlib.github.com/pull/25
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:eb6d20d2-5cb5-4319-842f-8d30a4d74f52 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BCA6:101A9F:606CD6:7F2363:6A5305E3 |
| html-safe-nonce | 289cba8be3ff02f3815830f90dd2e6b3858d762b97fdb512ac5977a6e59b5fd6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0E2OjEwMUE5Rjo2MDZDRDY6N0YyMzYzOjZBNTMwNUUzIiwidmlzaXRvcl9pZCI6IjM4OTI0MDI5OTgxMzIwMTY2MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3b5e5af393fd0dfc1cfd06f077da1f058bbf3d42a90a362e05d95e93b41a3fc9 |
| hovercard-subject-tag | pull_request:201851810 |
| 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/25/files |
| twitter:image | https://avatars.githubusercontent.com/u/15673619?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/15673619?s=400&v=4 |
| og:image:alt | Here's another horrifying (but orthogonal) script-generated commit, building upon 'cleanup.py' (-> 'cleanup.ipynb'). It deprecates any HTML in the following folders which doe... |
| 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