Title: Add green, red and yellow side borders for code examples by hugovk · Pull Request #285 · python/python-docs-theme · GitHub
Open Graph Title: Add green, red and yellow side borders for code examples by hugovk · Pull Request #285 · python/python-docs-theme
X Title: Add green, red and yellow side borders for code examples by hugovk · Pull Request #285 · python/python-docs-theme
Description: Like python/peps#3567 and python/devguide#1237, re: python/docs-community#22. This will allow us to add borders on the left side of code examples to flag if they're "good", "bad", or somewhere in between. For example: Do this: .. code-block:: :class: good a = 1 Don't do this: .. code-block:: :class: bad a = Take care doing this: .. code-block:: :class: maybe a = 2 Gives: And this will be useful for the upcoming free-threaded guidance coming to the docs. cc @lysnikolaou 📚 Documentation preview 📚: https://python-docs-theme-previews--285.org.readthedocs.build/
Open Graph Description: Like python/peps#3567 and python/devguide#1237, re: python/docs-community#22. This will allow us to add borders on the left side of code examples to flag if they're "good", "bad&...
X Description: Like python/peps#3567 and python/devguide#1237, re: python/docs-community#22. This will allow us to add borders on the left side of code examples to flag if they're "good"...
Opengraph URL: https://github.com/python/python-docs-theme/pull/285
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:4f12f36b-5379-8dd8-1e3d-9fb3e3a19cfa |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | E8FE:3A10FF:15390D0:1BF6A9D:69718EE3 |
| html-safe-nonce | bee039e715f3c470a3cf38ebb5d787554e96de53f1abc5a3b93686f62b870618 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEZFOjNBMTBGRjoxNTM5MEQwOjFCRjZBOUQ6Njk3MThFRTMiLCJ2aXNpdG9yX2lkIjoiMTUwNTk5NzEwOTc4NDA1NTUyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7f993d0fcb040f97dd9fa04e8674ca0484eaeb1059f8c7f4cdb5d2a7c75eb2e4 |
| hovercard-subject-tag | pull_request:3082496969 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/python/python-docs-theme/pull/285/checks |
| twitter:image | https://avatars.githubusercontent.com/u/1324225?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1324225?s=400&v=4 |
| og:image:alt | Like python/peps#3567 and python/devguide#1237, re: python/docs-community#22. This will allow us to add borders on the left side of code examples to flag if they're "good", "bad&... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2b0f2f00499ad3dd2c21ad030a3c403edca54df20ea256f6517c6d8c4fa3a1a4 |
| turbo-cache-control | no-cache |
| go-import | github.com/python/python-docs-theme git https://github.com/python/python-docs-theme.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 93341818 |
| octolytics-dimension-repository_nwo | python/python-docs-theme |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 93341818 |
| octolytics-dimension-repository_network_root_nwo | python/python-docs-theme |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 67235153f3c1514ed5f7dc469f138abc377bd388 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width