python-docs-theme 2025.4__py3-none-any.whl → 2025.5__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.
@@ -7,7 +7,7 @@ if TYPE_CHECKING:
7
7
  from sphinx.application import Sphinx
8
8
  from sphinx.util.typing import ExtensionMetadata
9
9
 
10
- __version__ = "2025.4"
10
+ __version__ = "2025.5"
11
11
 
12
12
  THEME_PATH = Path(__file__).resolve().parent
13
13
 
@@ -8,7 +8,7 @@ function getCopyableText(rootElement) {
8
8
  for (const el of tracebacks) {
9
9
  while (
10
10
  el.nextSibling &&
11
- (el.nextSibling.nodeType !== Node.DOCUMENT_NODE ||
11
+ (el.nextSibling.nodeType !== Node.ELEMENT_NODE ||
12
12
  !el.nextSibling.matches(".gp, .go"))
13
13
  ) {
14
14
  el.nextSibling.remove()
@@ -451,6 +451,7 @@ div.genindex-jumpbox a {
451
451
  color: #000;
452
452
  background-color: #fff;
453
453
  border: 1px solid #ac9; /* follows div.body pre */
454
+ display: none;
454
455
  }
455
456
 
456
457
  .copybutton:hover {
@@ -461,6 +462,14 @@ div.genindex-jumpbox a {
461
462
  background-color: #ddd;
462
463
  }
463
464
 
465
+ .highlight:active .copybutton {
466
+ display: block;
467
+ }
468
+
469
+ .highlight:hover .copybutton {
470
+ display: block;
471
+ }
472
+
464
473
  @media (max-width: 1023px) {
465
474
  /* Body layout */
466
475
  div.body {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-docs-theme
3
- Version: 2025.4
3
+ Version: 2025.5
4
4
  Summary: The Sphinx theme for the CPython docs and related projects
5
5
  Author-email: PyPA <distutils-sig@python.org>
6
6
  Requires-Python: >=3.12
@@ -1,17 +1,17 @@
1
- python_docs_theme/__init__.py,sha256=nZv1OwTI-_ACLoN4_wuE9NylrKwEZhYFQA2jN4HJakc,531
1
+ python_docs_theme/__init__.py,sha256=yYVn6HcaTxLgC9D6AhlllIq-_mhs8HEY0P3a3BP-ddQ,531
2
2
  python_docs_theme/footerdonate.html,sha256=-FO52fS7x4iqjtMD9un5b--rPED2BPlcug9gkUMW2Uk,182
3
3
  python_docs_theme/layout.html,sha256=0VeG3IEXiWEBnETcCHDnCnHsTgPVEUninHfvgWq7KN8,7861
4
4
  python_docs_theme/theme.toml,sha256=Y39XrHfXHgz6wdQgG-KX_Oewp2SQOrHswKBsGzvWsis,1139
5
- python_docs_theme/static/copybutton.js,sha256=x9wL3y_W6sJxbmMTv15ZcM9F1_QhnyrjrfMchFcpWvE,2792
5
+ python_docs_theme/static/copybutton.js,sha256=t9_nK_Gh_SI4oxm-sBc3gaQW-3McdEdpunG-3cULfuw,2791
6
6
  python_docs_theme/static/menu.js,sha256=JmrKD08_6CiCgQH32As9AgiSiV-th1fZInVrmTCihzA,2137
7
7
  python_docs_theme/static/py.png,sha256=rhc9xIQjUfwcilUa-9tYyyspVJB4ITDapPNZpqgNclY,695
8
8
  python_docs_theme/static/py.svg,sha256=WGW-i8wK-IhZSQPqARL2yNkjxXJsQIHoyFYRDMcznO8,2041
9
- python_docs_theme/static/pydoctheme.css,sha256=dy_l2epKFqXfH05WlE7N8zH5J6lJ_uNdsR9UntDpcTQ,15196
9
+ python_docs_theme/static/pydoctheme.css,sha256=IK-25n9ZLGw1Q0lU6mO1s5OCgPobqRV-_sU8dTZdTsc,15324
10
10
  python_docs_theme/static/pydoctheme_dark.css,sha256=kBPdZntNZFTtY7DJTNprMZkxlymdt1jfMqRsnvFafAE,3472
11
11
  python_docs_theme/static/search-focus.js,sha256=DwWV71ssKvrzagPenP7yLvFQCdyqFJirbBk1PFRvVoA,559
12
12
  python_docs_theme/static/themetoggle.js,sha256=6D1LE0wg8DjPP776_KxPCxXdIk-gGJJX5DYpHFLG1Uw,779
13
- python_docs_theme-2025.4.dist-info/entry_points.txt,sha256=VqpxCWQkYo2DkZVV2D2vA9LKmexR1Yhicqsrff4JAag,58
14
- python_docs_theme-2025.4.dist-info/licenses/LICENSE,sha256=lx_9CsorlYBu9cw97FX-A1VnHHmrwk-H-jydZBJlWmY,2460
15
- python_docs_theme-2025.4.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
16
- python_docs_theme-2025.4.dist-info/METADATA,sha256=bzH0Wq5BHjCfwODEAGyaSgbSBCFO9wBFst1BWp8twu4,2254
17
- python_docs_theme-2025.4.dist-info/RECORD,,
13
+ python_docs_theme-2025.5.dist-info/entry_points.txt,sha256=VqpxCWQkYo2DkZVV2D2vA9LKmexR1Yhicqsrff4JAag,58
14
+ python_docs_theme-2025.5.dist-info/licenses/LICENSE,sha256=lx_9CsorlYBu9cw97FX-A1VnHHmrwk-H-jydZBJlWmY,2460
15
+ python_docs_theme-2025.5.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
16
+ python_docs_theme-2025.5.dist-info/METADATA,sha256=h7fRa8JAsjrdc2mzGueg4sVywS18IEAxgpXYgcx8Eqo,2254
17
+ python_docs_theme-2025.5.dist-info/RECORD,,