python-docs-theme 2025.12__tar.gz → 2026.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/PKG-INFO +1 -1
  2. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/__init__.py +1 -1
  3. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/static/copybutton.js +6 -0
  4. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/static/pydoctheme.css +49 -0
  5. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/static/pydoctheme_dark.css +6 -0
  6. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/LICENSE +0 -0
  7. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/README.md +0 -0
  8. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/pyproject.toml +0 -0
  9. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/footerdonate.html +0 -0
  10. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/layout.html +0 -0
  11. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/ar/LC_MESSAGES/python-docs-theme.mo +0 -0
  12. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/ar/LC_MESSAGES/python-docs-theme.po +0 -0
  13. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/de/LC_MESSAGES/python-docs-theme.po +0 -0
  14. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/el/LC_MESSAGES/python-docs-theme.mo +0 -0
  15. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/el/LC_MESSAGES/python-docs-theme.po +0 -0
  16. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/es/LC_MESSAGES/python-docs-theme.mo +0 -0
  17. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/es/LC_MESSAGES/python-docs-theme.po +0 -0
  18. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/fr/LC_MESSAGES/python-docs-theme.mo +0 -0
  19. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/fr/LC_MESSAGES/python-docs-theme.po +0 -0
  20. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/id/LC_MESSAGES/python-docs-theme.mo +0 -0
  21. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/id/LC_MESSAGES/python-docs-theme.po +0 -0
  22. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/ja/LC_MESSAGES/python-docs-theme.mo +0 -0
  23. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/ja/LC_MESSAGES/python-docs-theme.po +0 -0
  24. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/ko/LC_MESSAGES/python-docs-theme.mo +0 -0
  25. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/ko/LC_MESSAGES/python-docs-theme.po +0 -0
  26. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/pl/LC_MESSAGES/python-docs-theme.mo +0 -0
  27. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/pl/LC_MESSAGES/python-docs-theme.po +0 -0
  28. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/pt/LC_MESSAGES/python-docs-theme.mo +0 -0
  29. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/pt/LC_MESSAGES/python-docs-theme.po +0 -0
  30. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/pt_BR/LC_MESSAGES/python-docs-theme.mo +0 -0
  31. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/pt_BR/LC_MESSAGES/python-docs-theme.po +0 -0
  32. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/ro/LC_MESSAGES/python-docs-theme.mo +0 -0
  33. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/ro/LC_MESSAGES/python-docs-theme.po +0 -0
  34. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/ru/LC_MESSAGES/python-docs-theme.mo +0 -0
  35. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/ru/LC_MESSAGES/python-docs-theme.po +0 -0
  36. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/sv/LC_MESSAGES/python-docs-theme.mo +0 -0
  37. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/sv/LC_MESSAGES/python-docs-theme.po +0 -0
  38. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/tr/LC_MESSAGES/python-docs-theme.mo +0 -0
  39. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/tr/LC_MESSAGES/python-docs-theme.po +0 -0
  40. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/zh_CN/LC_MESSAGES/python-docs-theme.mo +0 -0
  41. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/zh_CN/LC_MESSAGES/python-docs-theme.po +0 -0
  42. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/zh_TW/LC_MESSAGES/python-docs-theme.mo +0 -0
  43. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/locale/zh_TW/LC_MESSAGES/python-docs-theme.po +0 -0
  44. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/static/menu.js +0 -0
  45. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/static/py.svg +0 -0
  46. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/static/search-focus.js +0 -0
  47. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/static/themetoggle.js +0 -0
  48. {python_docs_theme-2025.12 → python_docs_theme-2026.3}/python_docs_theme/theme.toml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-docs-theme
3
- Version: 2025.12
3
+ Version: 2026.3
4
4
  Summary: The Sphinx theme for the CPython docs and related projects
5
5
  Author: Python Docs Sphinx Theme maintainers
6
6
  Requires-Python: >=3.12
@@ -11,7 +11,7 @@ if TYPE_CHECKING:
11
11
  from sphinx.application import Sphinx
12
12
  from sphinx.util.typing import ExtensionMetadata
13
13
 
14
- __version__ = "2025.12"
14
+ __version__ = "2026.3"
15
15
 
16
16
  THEME_PATH = Path(__file__).resolve().parent
17
17
  LOCALE_DIR = THEME_PATH / "locale"
@@ -62,6 +62,12 @@ const loadCopyButton = () => {
62
62
  + ".highlight-python3 .highlight,"
63
63
  + ".highlight-pycon .highlight,"
64
64
  + ".highlight-pycon3 .highlight,"
65
+ + ".highlight-bash .highlight,"
66
+ + ".highlight-console .highlight,"
67
+ + ".highlight-doscon .highlight,"
68
+ + ".highlight-ps1con .highlight,"
69
+ + ".highlight-sh .highlight,"
70
+ + ".highlight-shell-session .highlight,"
65
71
  + ".highlight-default .highlight"
66
72
  )
67
73
 
@@ -247,6 +247,25 @@ div.body {
247
247
  }
248
248
  }
249
249
 
250
+ div.code-block-caption {
251
+ background-color: #eee;
252
+ border: 1px solid #ac9;
253
+ border-bottom: none;
254
+ border-radius: 3px 3px 0 0;
255
+ padding: 0.3em 0.6em;
256
+ font-size: 90%;
257
+ color: #333;
258
+
259
+ & + div pre {
260
+ border-top-left-radius: 0 !important;
261
+ border-top-right-radius: 0 !important;
262
+ }
263
+
264
+ & + div .copybutton {
265
+ border-top-right-radius: 0 !important;
266
+ }
267
+ }
268
+
250
269
  /* Admonitions */
251
270
  :root {
252
271
  --admonition-background: #eee;
@@ -425,6 +444,36 @@ div.footer a:hover {
425
444
  color: #229;
426
445
  }
427
446
 
447
+ /* C API thread safety annotations */
448
+ :root {
449
+ --threadsafety-incompatible: var(--bad-color);
450
+ --threadsafety-compatible: var(--middle-color);
451
+ --threadsafety-distinct: var(--middle-color);
452
+ --threadsafety-shared: var(--good-color);
453
+ --threadsafety-atomic: var(--good-color);
454
+ }
455
+
456
+ .threadsafety.threadsafety-incompatible {
457
+ color: var(--threadsafety-incompatible);
458
+ }
459
+
460
+ .threadsafety.threadsafety-compatible {
461
+ color: var(--threadsafety-compatible);
462
+ }
463
+
464
+ .threadsafety.threadsafety-distinct {
465
+ color: var(--threadsafety-distinct);
466
+ }
467
+
468
+ .threadsafety.threadsafety-shared {
469
+ color: var(--threadsafety-shared);
470
+ }
471
+
472
+ .threadsafety.threadsafety-atomic {
473
+ color: var(--threadsafety-atomic);
474
+ }
475
+
476
+
428
477
  dl > dt span ~ em,
429
478
  .sig {
430
479
  font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
@@ -97,6 +97,12 @@ div.body pre {
97
97
  border-color: #616161;
98
98
  }
99
99
 
100
+ div.code-block-caption {
101
+ background-color: #333;
102
+ border-color: #616161;
103
+ color: white;
104
+ }
105
+
100
106
  code {
101
107
  background-color: #424242;
102
108
  }