python-docs-theme 2025.12__py3-none-any.whl → 2026.2__py3-none-any.whl

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.
@@ -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.2"
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,26 @@ 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-safe: var(--good-color);
452
+ }
453
+
454
+ .threadsafety.threadsafety-incompatible {
455
+ color: var(--threadsafety-incompatible);
456
+ }
457
+
458
+ .threadsafety.threadsafety-compatible {
459
+ color: var(--threadsafety-compatible);
460
+ }
461
+
462
+ .threadsafety.threadsafety-safe {
463
+ color: var(--threadsafety-safe);
464
+ }
465
+
466
+
428
467
  dl > dt span ~ em,
429
468
  .sig {
430
469
  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
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-docs-theme
3
- Version: 2025.12
3
+ Version: 2026.2
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
@@ -1,4 +1,4 @@
1
- python_docs_theme/__init__.py,sha256=VO_41uXf7jB-OXPOJT5xFJyc_tY75TI-c0qNwToIcZ8,1327
1
+ python_docs_theme/__init__.py,sha256=PEtjoTCOQfyFPvm-u2asebuD3pJh3nzGv-kbzBzKxa8,1326
2
2
  python_docs_theme/footerdonate.html,sha256=-FO52fS7x4iqjtMD9un5b--rPED2BPlcug9gkUMW2Uk,182
3
3
  python_docs_theme/layout.html,sha256=ySMMWJVyI98kixKNlKMet4l-pXFcaHX2GJJzsEYO2mk,7867
4
4
  python_docs_theme/theme.toml,sha256=Y39XrHfXHgz6wdQgG-KX_Oewp2SQOrHswKBsGzvWsis,1139
@@ -35,15 +35,15 @@ python_docs_theme/locale/zh_CN/LC_MESSAGES/python-docs-theme.mo,sha256=VGBcADIFU
35
35
  python_docs_theme/locale/zh_CN/LC_MESSAGES/python-docs-theme.po,sha256=AOoh5mLPreHpJAk-vub5vrYJ6yHe4VtcosqWgO2pn0Q,3518
36
36
  python_docs_theme/locale/zh_TW/LC_MESSAGES/python-docs-theme.mo,sha256=RRbos1z_n4mnuIgvznqS76jub0wLkmHL39s6pNDt9us,2144
37
37
  python_docs_theme/locale/zh_TW/LC_MESSAGES/python-docs-theme.po,sha256=GEEypXaJvki6dq5opnN2SQ-fok34nvi6wNJ92M-Toz8,3524
38
- python_docs_theme/static/copybutton.js,sha256=eYMZJ8tD7FztAS7coT6W8jYw7sC5uUPiJaiLMuD12ZE,2801
38
+ python_docs_theme/static/copybutton.js,sha256=Fg9_Xc0kpFuFilfWpBQa7cDmXEsybvrmnawdf3Gskyo,3055
39
39
  python_docs_theme/static/menu.js,sha256=JmrKD08_6CiCgQH32As9AgiSiV-th1fZInVrmTCihzA,2137
40
40
  python_docs_theme/static/py.svg,sha256=WGW-i8wK-IhZSQPqARL2yNkjxXJsQIHoyFYRDMcznO8,2041
41
- python_docs_theme/static/pydoctheme.css,sha256=h-5WfLG9qpiKOQgev0YxGjOXhhTEquC-VPSGf6uimzE,15635
42
- python_docs_theme/static/pydoctheme_dark.css,sha256=kBPdZntNZFTtY7DJTNprMZkxlymdt1jfMqRsnvFafAE,3472
41
+ python_docs_theme/static/pydoctheme.css,sha256=bDCnlkZhs_q5Y5YCFvIb_pDxe3guPbLOsJyPkW3Ja2o,16484
42
+ python_docs_theme/static/pydoctheme_dark.css,sha256=yMqk6q-k8cyWdunDWSpRU-AqEq9ELYTnJOpelSsPIao,3573
43
43
  python_docs_theme/static/search-focus.js,sha256=DwWV71ssKvrzagPenP7yLvFQCdyqFJirbBk1PFRvVoA,559
44
44
  python_docs_theme/static/themetoggle.js,sha256=6D1LE0wg8DjPP776_KxPCxXdIk-gGJJX5DYpHFLG1Uw,779
45
- python_docs_theme-2025.12.dist-info/entry_points.txt,sha256=VqpxCWQkYo2DkZVV2D2vA9LKmexR1Yhicqsrff4JAag,58
46
- python_docs_theme-2025.12.dist-info/licenses/LICENSE,sha256=lx_9CsorlYBu9cw97FX-A1VnHHmrwk-H-jydZBJlWmY,2460
47
- python_docs_theme-2025.12.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
48
- python_docs_theme-2025.12.dist-info/METADATA,sha256=k5_boKEZvWiLxCSePvimayUxpiKpFbD1LuM0oJmHpBo,2532
49
- python_docs_theme-2025.12.dist-info/RECORD,,
45
+ python_docs_theme-2026.2.dist-info/entry_points.txt,sha256=VqpxCWQkYo2DkZVV2D2vA9LKmexR1Yhicqsrff4JAag,58
46
+ python_docs_theme-2026.2.dist-info/licenses/LICENSE,sha256=lx_9CsorlYBu9cw97FX-A1VnHHmrwk-H-jydZBJlWmY,2460
47
+ python_docs_theme-2026.2.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
48
+ python_docs_theme-2026.2.dist-info/METADATA,sha256=1kF5PPHHifC5BtBGAqq4oJsrxoipJzErPV2OrREsl_A,2531
49
+ python_docs_theme-2026.2.dist-info/RECORD,,