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: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:d7295f5d-14f6-8ca8-ba40-50b9ceef05fc |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | E2DC:DB76B:BEDF33:FB2080:69717309 |
| html-safe-nonce | 6afd009361ca216627e07c661de7ff217f02a58bda06f4c133848f6afba968a1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkRDOkRCNzZCOkJFREYzMzpGQjIwODA6Njk3MTczMDkiLCJ2aXNpdG9yX2lkIjoiOTE1MDA0MTcwNDA0MjE2NTAwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1362ca7cc40bc74e5cc4459b0fe9fde50c825d537c61fc90ea6b7072b9da9256 |
| 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 | 102ab681b33bed6a87d35dc54dd8200470d7e01648f08979e84415ab67d611aa |
| 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 | 6a660b76f271bda19afb9f5242b473bfee637a5a |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width