Sphinx 8.0.0__py3-none-any.whl → 8.0.1__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.
Potentially problematic release.
This version of Sphinx might be problematic. Click here for more details.
- sphinx/__init__.py +2 -2
- sphinx/highlighting.py +6 -0
- {sphinx-8.0.0.dist-info → sphinx-8.0.1.dist-info}/METADATA +1 -1
- {sphinx-8.0.0.dist-info → sphinx-8.0.1.dist-info}/RECORD +7 -7
- {sphinx-8.0.0.dist-info → sphinx-8.0.1.dist-info}/LICENSE.rst +0 -0
- {sphinx-8.0.0.dist-info → sphinx-8.0.1.dist-info}/WHEEL +0 -0
- {sphinx-8.0.0.dist-info → sphinx-8.0.1.dist-info}/entry_points.txt +0 -0
sphinx/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"""The Sphinx documentation toolchain."""
|
|
2
2
|
|
|
3
|
-
__version__ = '8.0.
|
|
3
|
+
__version__ = '8.0.1'
|
|
4
4
|
__display_version__ = __version__ # used for command line version
|
|
5
5
|
|
|
6
6
|
# Keep this file executable as-is in Python 3!
|
|
@@ -27,7 +27,7 @@ warnings.filterwarnings(
|
|
|
27
27
|
#:
|
|
28
28
|
#: .. versionadded:: 1.2
|
|
29
29
|
#: Before version 1.2, check the string ``sphinx.__version__``.
|
|
30
|
-
version_info = (8, 0,
|
|
30
|
+
version_info = (8, 0, 1, 'final', 0)
|
|
31
31
|
|
|
32
32
|
package_dir = os.path.abspath(os.path.dirname(__file__))
|
|
33
33
|
|
sphinx/highlighting.py
CHANGED
|
@@ -6,6 +6,7 @@ from functools import partial
|
|
|
6
6
|
from importlib import import_module
|
|
7
7
|
from typing import TYPE_CHECKING, Any
|
|
8
8
|
|
|
9
|
+
import pygments
|
|
9
10
|
from pygments import highlight
|
|
10
11
|
from pygments.filters import ErrorToken
|
|
11
12
|
from pygments.formatters import HtmlFormatter, LatexFormatter
|
|
@@ -30,6 +31,11 @@ if TYPE_CHECKING:
|
|
|
30
31
|
from pygments.lexer import Lexer
|
|
31
32
|
from pygments.style import Style
|
|
32
33
|
|
|
34
|
+
if tuple(map(int, pygments.__version__.split('.')))[:2] < (2, 18):
|
|
35
|
+
from pygments.formatter import Formatter # NoQA: F811
|
|
36
|
+
|
|
37
|
+
Formatter.__class_getitem__ = lambda cls, name: cls # type: ignore[attr-defined]
|
|
38
|
+
|
|
33
39
|
logger = logging.getLogger(__name__)
|
|
34
40
|
|
|
35
41
|
lexers: dict[str, Lexer] = {}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sphinx/__init__.py,sha256=
|
|
1
|
+
sphinx/__init__.py,sha256=IYvLXGko1qr-XQa1i5kBPsQqPj5x_AOBpvSjMh0rI3w,1690
|
|
2
2
|
sphinx/__main__.py,sha256=wIifwXlZHdi4gtQmkJ6KF0BsflvD9o0Wd5nARTdJc8A,127
|
|
3
3
|
sphinx/addnodes.py,sha256=EQTIi9Zta6DaNa-2WGE3l9AVjdp7WzwwrfwRnax8vXE,18707
|
|
4
4
|
sphinx/application.py,sha256=yhOkhP56wzskzmi5sjiAEqt1i_AE4jLGWDeWkLPvvZ0,57793
|
|
@@ -7,7 +7,7 @@ sphinx/deprecation.py,sha256=E8lNCClHC1Mt2IiXNYp5oULqukUjfvSnHqUmDXfvobw,2438
|
|
|
7
7
|
sphinx/errors.py,sha256=mFyE7P1fmnVTeYtpP3wv8oXrKyTw1H0WcE46VypUPd0,3412
|
|
8
8
|
sphinx/events.py,sha256=rZkchR3dFN54FG5pc4k9yrImicSCmjOHyoJd187R4sM,4415
|
|
9
9
|
sphinx/extension.py,sha256=F4AZzY3BAVRXaeE3p0CYFM4TJ24GESuxjk6z0gtdJ4o,3169
|
|
10
|
-
sphinx/highlighting.py,sha256=
|
|
10
|
+
sphinx/highlighting.py,sha256=JwZ7R9RxP32d3b6Frca97BvdHyjAZ1Zh_0p5yRKCegA,7642
|
|
11
11
|
sphinx/io.py,sha256=C0yF1BMsMPiaWJ16uKjIDZ4wgpQ4kwJ8mw1syTEFkTc,6186
|
|
12
12
|
sphinx/jinja2glue.py,sha256=_G9x8uypW9kAlMGGSkectaN4VIosDi0SXn_2qFe91_4,7463
|
|
13
13
|
sphinx/parsers.py,sha256=86Yn9xUBWWe8FxvDf1_BlEzqvSDZ8AMFeYJCbx7AtMQ,3179
|
|
@@ -583,8 +583,8 @@ sphinx/writers/manpage.py,sha256=7RFc0CEnUyejf5vEp9M18JnZS6lv8ZxOvq3Y2KgNQdQ,162
|
|
|
583
583
|
sphinx/writers/texinfo.py,sha256=2XL6KCGBOeFCs1wu0gInQ6ALssgGvPeKlnmoSJ9ce1s,53470
|
|
584
584
|
sphinx/writers/text.py,sha256=SYlQC54pxkiF8nNJCthDwa2m7Sb2UKmRS-jC-SjFn84,43006
|
|
585
585
|
sphinx/writers/xml.py,sha256=4rj6wdeMFqR-aE6MR_j2VvdKL3cRLv_qgB8wSARkc3s,1546
|
|
586
|
-
sphinx-8.0.
|
|
587
|
-
sphinx-8.0.
|
|
588
|
-
sphinx-8.0.
|
|
589
|
-
sphinx-8.0.
|
|
590
|
-
sphinx-8.0.
|
|
586
|
+
sphinx-8.0.1.dist-info/entry_points.txt,sha256=KU_c9jqXj7yyZylSz11XRIXG3gAZApQa0d5DmcfyA7M,188
|
|
587
|
+
sphinx-8.0.1.dist-info/LICENSE.rst,sha256=HdZPUFcmQaLySBc9fKvRC5aOUNkxL9Gz5py0p6XGDk4,3135
|
|
588
|
+
sphinx-8.0.1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
|
589
|
+
sphinx-8.0.1.dist-info/METADATA,sha256=3r6CBIGc2VUGpwJFxaZ6JhdCLSHGT3w9ggQImn2XM3c,6205
|
|
590
|
+
sphinx-8.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|