python-docs-theme 2025.4.1__tar.gz → 2025.5__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 (16) hide show
  1. {python_docs_theme-2025.4.1 → python_docs_theme-2025.5}/PKG-INFO +1 -1
  2. {python_docs_theme-2025.4.1 → python_docs_theme-2025.5}/python_docs_theme/__init__.py +1 -1
  3. {python_docs_theme-2025.4.1 → python_docs_theme-2025.5}/python_docs_theme/static/pydoctheme.css +9 -0
  4. {python_docs_theme-2025.4.1 → python_docs_theme-2025.5}/LICENSE +0 -0
  5. {python_docs_theme-2025.4.1 → python_docs_theme-2025.5}/README.md +0 -0
  6. {python_docs_theme-2025.4.1 → python_docs_theme-2025.5}/pyproject.toml +0 -0
  7. {python_docs_theme-2025.4.1 → python_docs_theme-2025.5}/python_docs_theme/footerdonate.html +0 -0
  8. {python_docs_theme-2025.4.1 → python_docs_theme-2025.5}/python_docs_theme/layout.html +0 -0
  9. {python_docs_theme-2025.4.1 → python_docs_theme-2025.5}/python_docs_theme/static/copybutton.js +0 -0
  10. {python_docs_theme-2025.4.1 → python_docs_theme-2025.5}/python_docs_theme/static/menu.js +0 -0
  11. {python_docs_theme-2025.4.1 → python_docs_theme-2025.5}/python_docs_theme/static/py.png +0 -0
  12. {python_docs_theme-2025.4.1 → python_docs_theme-2025.5}/python_docs_theme/static/py.svg +0 -0
  13. {python_docs_theme-2025.4.1 → python_docs_theme-2025.5}/python_docs_theme/static/pydoctheme_dark.css +0 -0
  14. {python_docs_theme-2025.4.1 → python_docs_theme-2025.5}/python_docs_theme/static/search-focus.js +0 -0
  15. {python_docs_theme-2025.4.1 → python_docs_theme-2025.5}/python_docs_theme/static/themetoggle.js +0 -0
  16. {python_docs_theme-2025.4.1 → python_docs_theme-2025.5}/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.4.1
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
@@ -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.1"
10
+ __version__ = "2025.5"
11
11
 
12
12
  THEME_PATH = Path(__file__).resolve().parent
13
13
 
@@ -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 {