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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d8d80c05-1084-7844-e51b-69dd68bb82d3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A6C4:3CD5B7:2FB46B:42400C:6970A57D |
| html-safe-nonce | d929c0cadedb7567e34b9d225871def8a91f1ebec88ad23740060ba30978d67c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkM0OjNDRDVCNzoyRkI0NkI6NDI0MDBDOjY5NzBBNTdEIiwidmlzaXRvcl9pZCI6Ijg5Mjc3MzQ0NTg3OTQxNTc0MzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 26508a2d7ddc4e2401d6375d5eaec47e4bd5251293b532948752bb5053a1fd65 |
| hovercard-subject-tag | pull_request:3082496969 |
| 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/python/python-docs-theme/pull/285/files |
| 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 | b06a4c45c45fd0bb038b3759265ea6e38211f45d18130bc65261990be6b5972a |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0e1c4964831785bd64cb22d82e7cf2391ae01f45 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width