Sphinx 7.4.3__py3-none-any.whl → 7.4.4__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/util/inventory.py +11 -4
- {sphinx-7.4.3.dist-info → sphinx-7.4.4.dist-info}/METADATA +1 -1
- {sphinx-7.4.3.dist-info → sphinx-7.4.4.dist-info}/RECORD +7 -7
- {sphinx-7.4.3.dist-info → sphinx-7.4.4.dist-info}/LICENSE.rst +0 -0
- {sphinx-7.4.3.dist-info → sphinx-7.4.4.dist-info}/WHEEL +0 -0
- {sphinx-7.4.3.dist-info → sphinx-7.4.4.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__ = '7.4.
|
|
3
|
+
__version__ = '7.4.4'
|
|
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 = (7, 4,
|
|
30
|
+
version_info = (7, 4, 4, 'final', 0)
|
|
31
31
|
|
|
32
32
|
package_dir = os.path.abspath(os.path.dirname(__file__))
|
|
33
33
|
|
sphinx/util/inventory.py
CHANGED
|
@@ -126,7 +126,8 @@ class InventoryFile:
|
|
|
126
126
|
invdata: Inventory = {}
|
|
127
127
|
projname = stream.readline().rstrip()[11:]
|
|
128
128
|
version = stream.readline().rstrip()[11:]
|
|
129
|
-
|
|
129
|
+
# definition -> priority, location, display name
|
|
130
|
+
potential_ambiguities: dict[str, tuple[str, str, str]] = {}
|
|
130
131
|
actual_ambiguities = set()
|
|
131
132
|
line = stream.readline()
|
|
132
133
|
if 'zlib' not in line:
|
|
@@ -155,10 +156,16 @@ class InventoryFile:
|
|
|
155
156
|
# * 'term': https://github.com/sphinx-doc/sphinx/issues/9291
|
|
156
157
|
# * 'label': https://github.com/sphinx-doc/sphinx/issues/12008
|
|
157
158
|
definition = f"{type}:{name}"
|
|
158
|
-
|
|
159
|
-
|
|
159
|
+
content = prio, location, dispname
|
|
160
|
+
lowercase_definition = definition.lower()
|
|
161
|
+
if lowercase_definition in potential_ambiguities:
|
|
162
|
+
if potential_ambiguities[lowercase_definition] != content:
|
|
163
|
+
actual_ambiguities.add(definition)
|
|
164
|
+
else:
|
|
165
|
+
logger.debug(__("inventory <%s> contains duplicate definitions of %s"),
|
|
166
|
+
uri, definition, type='intersphinx', subtype='external')
|
|
160
167
|
else:
|
|
161
|
-
potential_ambiguities
|
|
168
|
+
potential_ambiguities[lowercase_definition] = content
|
|
162
169
|
if location.endswith('$'):
|
|
163
170
|
location = location[:-1] + name
|
|
164
171
|
location = join(uri, location)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sphinx/__init__.py,sha256=
|
|
1
|
+
sphinx/__init__.py,sha256=rQisav1KDhuasqIZKggouqZKK_GxVoyJwW-MUUIH2MM,1690
|
|
2
2
|
sphinx/__main__.py,sha256=wIifwXlZHdi4gtQmkJ6KF0BsflvD9o0Wd5nARTdJc8A,127
|
|
3
3
|
sphinx/addnodes.py,sha256=EQTIi9Zta6DaNa-2WGE3l9AVjdp7WzwwrfwRnax8vXE,18707
|
|
4
4
|
sphinx/application.py,sha256=5QXM7tYRt1s4q00GHPtAK2EIxu6G_UkzMB3MOKOkuUI,57793
|
|
@@ -561,7 +561,7 @@ sphinx/util/i18n.py,sha256=K5smw0FQ3Hkr4Bp17o2BQRMK-8s76edJPsdWgLT5AFM,10542
|
|
|
561
561
|
sphinx/util/images.py,sha256=Y5Oy1M_BD6HRsUyWFQ2DvvCL4VDOFHDPZxtYnO8QEfM,3701
|
|
562
562
|
sphinx/util/index_entries.py,sha256=wEa55m_tez3UFNFEVuIesEQKWavANQ2O-l86k1If0sY,986
|
|
563
563
|
sphinx/util/inspect.py,sha256=BdltEA-0lZKhCcCa3DmS7kIV7Xf5KZS6d8VKf6uLNMI,33077
|
|
564
|
-
sphinx/util/inventory.py,sha256=
|
|
564
|
+
sphinx/util/inventory.py,sha256=qjbSlk51LQY2gXZW_d8i3-pyUewisaFpj955jf2IFz0,7973
|
|
565
565
|
sphinx/util/logging.py,sha256=WokXNrpfjX7kekEE6N59MitS23DzdCpyEw0GTiQovug,20542
|
|
566
566
|
sphinx/util/matching.py,sha256=pywT5EKjUUJ-PX4H6mm-LA3f37AvYfxwEpraHHrhVsI,5368
|
|
567
567
|
sphinx/util/math.py,sha256=GuBqbvunQfOE2JpxjFsUoWwujDhWaYELczJIyNGzLhE,1984
|
|
@@ -584,8 +584,8 @@ sphinx/writers/manpage.py,sha256=iLoC4i81W52dTl8Kpug65CV1M7cCz1buGgsN7FhazYo,162
|
|
|
584
584
|
sphinx/writers/texinfo.py,sha256=UU3Zrt-zBgdwYgqj4BJFNthggzMr_Gllx2ewBeWrkcI,53451
|
|
585
585
|
sphinx/writers/text.py,sha256=HEiYXsWXO9QVOazg2V3D0ehGTnK38dAtYP9v0rst684,42964
|
|
586
586
|
sphinx/writers/xml.py,sha256=NyDl82hCFSRiHrCZV6vBfn4AsAyXH6khtSJEfhOX8a0,1502
|
|
587
|
-
sphinx-7.4.
|
|
588
|
-
sphinx-7.4.
|
|
589
|
-
sphinx-7.4.
|
|
590
|
-
sphinx-7.4.
|
|
591
|
-
sphinx-7.4.
|
|
587
|
+
sphinx-7.4.4.dist-info/entry_points.txt,sha256=KU_c9jqXj7yyZylSz11XRIXG3gAZApQa0d5DmcfyA7M,188
|
|
588
|
+
sphinx-7.4.4.dist-info/LICENSE.rst,sha256=HdZPUFcmQaLySBc9fKvRC5aOUNkxL9Gz5py0p6XGDk4,3135
|
|
589
|
+
sphinx-7.4.4.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
|
590
|
+
sphinx-7.4.4.dist-info/METADATA,sha256=PSou9ENgREao62zCI8w7DVwEM19axj7bP3FBqVVawDU,6113
|
|
591
|
+
sphinx-7.4.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|