python-docs-theme 2024.6__py3-none-any.whl → 2024.10__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.
@@ -2,7 +2,7 @@ from __future__ import annotations
2
2
 
3
3
  import hashlib
4
4
  import os
5
- from functools import lru_cache
5
+ from functools import cache
6
6
  from pathlib import Path
7
7
  from typing import Any
8
8
 
@@ -12,7 +12,7 @@ from sphinx.builders.html import StandaloneHTMLBuilder
12
12
  THEME_PATH = Path(__file__).parent.resolve()
13
13
 
14
14
 
15
- @lru_cache(maxsize=None)
15
+ @cache
16
16
  def _asset_hash(path: str) -> str:
17
17
  """Append a `?digest=` to an url based on the file content."""
18
18
  full_path = THEME_PATH / path.replace("_static/", "static/")
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-docs-theme
3
- Version: 2024.6
3
+ Version: 2024.10
4
4
  Summary: The Sphinx theme for the CPython docs and related projects
5
5
  Author-email: PyPA <distutils-sig@python.org>
6
- Requires-Python: >=3.8
6
+ Requires-Python: >=3.9
7
7
  Description-Content-Type: text/markdown
8
8
  Classifier: Development Status :: 5 - Production/Stable
9
9
  Classifier: Framework :: Sphinx :: Theme
@@ -12,7 +12,6 @@ Classifier: License :: OSI Approved :: Python Software Foundation License
12
12
  Classifier: Operating System :: OS Independent
13
13
  Classifier: Programming Language :: Python
14
14
  Classifier: Programming Language :: Python :: 3 :: Only
15
- Classifier: Programming Language :: Python :: 3.8
16
15
  Classifier: Programming Language :: Python :: 3.9
17
16
  Classifier: Programming Language :: Python :: 3.10
18
17
  Classifier: Programming Language :: Python :: 3.11
@@ -1,4 +1,4 @@
1
- python_docs_theme/__init__.py,sha256=esu35Rbm5dkiGbvjW4gCEl209iH68Ji2Ky9XcbvDRbE,1828
1
+ python_docs_theme/__init__.py,sha256=y9oW_V56hYBi9-aRpCvmHNwsbkAWeTog39_y844Aau8,1806
2
2
  python_docs_theme/footerdonate.html,sha256=SVxLBvbrliqOzjau4SdhhtkRGXxX5ZrZN6Yr6luRhIQ,184
3
3
  python_docs_theme/layout.html,sha256=W5gSelJr85H5a1uaSPUDFoONpaGscpqdJkKszq5t95E,7891
4
4
  python_docs_theme/theme.conf,sha256=y8hpLRiQymGaL7AuTvXRxmhUMk6I3ehHCh5fUWbfD88,1040
@@ -11,8 +11,8 @@ python_docs_theme/static/pydoctheme_dark.css,sha256=NJ3l0yMhn_hH3CPJ5f_DwxxSr6j4
11
11
  python_docs_theme/static/search-focus.js,sha256=DwWV71ssKvrzagPenP7yLvFQCdyqFJirbBk1PFRvVoA,559
12
12
  python_docs_theme/static/sidebar.js_t,sha256=swTyAoy6dNGm6Ro0_iRl_9ujRrIz5nq207tMIqNnYgs,3350
13
13
  python_docs_theme/static/themetoggle.js,sha256=6D1LE0wg8DjPP776_KxPCxXdIk-gGJJX5DYpHFLG1Uw,779
14
- python_docs_theme-2024.6.dist-info/entry_points.txt,sha256=VqpxCWQkYo2DkZVV2D2vA9LKmexR1Yhicqsrff4JAag,58
15
- python_docs_theme-2024.6.dist-info/LICENSE,sha256=lx_9CsorlYBu9cw97FX-A1VnHHmrwk-H-jydZBJlWmY,2460
16
- python_docs_theme-2024.6.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
17
- python_docs_theme-2024.6.dist-info/METADATA,sha256=0DQh98w3_aoo7WR2FseBPgWc6LTzTyYdwfVy21QG1Q8,2343
18
- python_docs_theme-2024.6.dist-info/RECORD,,
14
+ python_docs_theme-2024.10.dist-info/entry_points.txt,sha256=VqpxCWQkYo2DkZVV2D2vA9LKmexR1Yhicqsrff4JAag,58
15
+ python_docs_theme-2024.10.dist-info/LICENSE,sha256=lx_9CsorlYBu9cw97FX-A1VnHHmrwk-H-jydZBJlWmY,2460
16
+ python_docs_theme-2024.10.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
17
+ python_docs_theme-2024.10.dist-info/METADATA,sha256=05pxr7bO3oIe8TP2ZxxmdtIUyECVjnyhukQeGrh_k8k,2294
18
+ python_docs_theme-2024.10.dist-info/RECORD,,