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