Sphinx 7.4.5__py3-none-any.whl → 7.4.6__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/ext/autosummary/generate.py +7 -10
- sphinx/ext/autosummary/templates/autosummary/module.rst +14 -14
- sphinx/util/inventory.py +2 -2
- {sphinx-7.4.5.dist-info → sphinx-7.4.6.dist-info}/METADATA +1 -1
- {sphinx-7.4.5.dist-info → sphinx-7.4.6.dist-info}/RECORD +9 -9
- {sphinx-7.4.5.dist-info → sphinx-7.4.6.dist-info}/LICENSE.rst +0 -0
- {sphinx-7.4.5.dist-info → sphinx-7.4.6.dist-info}/WHEEL +0 -0
- {sphinx-7.4.5.dist-info → sphinx-7.4.6.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.6'
|
|
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, 6, 'final', 0)
|
|
31
31
|
|
|
32
32
|
package_dir = os.path.abspath(os.path.dirname(__file__))
|
|
33
33
|
|
|
@@ -330,10 +330,6 @@ def generate_autosummary_content(
|
|
|
330
330
|
doc, app, obj, {'module'}, imported=True
|
|
331
331
|
)
|
|
332
332
|
skip += all_imported_modules
|
|
333
|
-
imported_modules = [name + '.' + modname for modname in imported_modules]
|
|
334
|
-
all_imported_modules = [
|
|
335
|
-
name + '.' + modname for modname in all_imported_modules
|
|
336
|
-
]
|
|
337
333
|
public_members = getall(obj)
|
|
338
334
|
else:
|
|
339
335
|
imported_modules, all_imported_modules = [], []
|
|
@@ -476,21 +472,22 @@ def _get_modules(
|
|
|
476
472
|
if modname in skip:
|
|
477
473
|
# module was overwritten in __init__.py, so not accessible
|
|
478
474
|
continue
|
|
479
|
-
fullname = name
|
|
475
|
+
fullname = f'{name}.{modname}'
|
|
480
476
|
try:
|
|
481
477
|
module = import_module(fullname)
|
|
482
|
-
if module and hasattr(module, '__sphinx_mock__'):
|
|
483
|
-
continue
|
|
484
478
|
except ImportError:
|
|
485
479
|
pass
|
|
480
|
+
else:
|
|
481
|
+
if module and hasattr(module, '__sphinx_mock__'):
|
|
482
|
+
continue
|
|
486
483
|
|
|
487
|
-
items.append(
|
|
484
|
+
items.append(modname)
|
|
488
485
|
if public_members is not None:
|
|
489
486
|
if modname in public_members:
|
|
490
|
-
public.append(
|
|
487
|
+
public.append(modname)
|
|
491
488
|
else:
|
|
492
489
|
if not modname.startswith('_'):
|
|
493
|
-
public.append(
|
|
490
|
+
public.append(modname)
|
|
494
491
|
return public, items
|
|
495
492
|
|
|
496
493
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
.. automodule:: {{ fullname }}
|
|
4
4
|
|
|
5
5
|
{% block attributes %}
|
|
6
|
-
{
|
|
6
|
+
{%- if attributes %}
|
|
7
7
|
.. rubric:: {{ _('Module Attributes') }}
|
|
8
8
|
|
|
9
9
|
.. autosummary::
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
{{ item }}
|
|
12
12
|
{%- endfor %}
|
|
13
13
|
{% endif %}
|
|
14
|
-
{
|
|
14
|
+
{%- endblock %}
|
|
15
15
|
|
|
16
|
-
{
|
|
17
|
-
{
|
|
16
|
+
{%- block functions %}
|
|
17
|
+
{%- if functions %}
|
|
18
18
|
.. rubric:: {{ _('Functions') }}
|
|
19
19
|
|
|
20
20
|
.. autosummary::
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
{{ item }}
|
|
23
23
|
{%- endfor %}
|
|
24
24
|
{% endif %}
|
|
25
|
-
{
|
|
25
|
+
{%- endblock %}
|
|
26
26
|
|
|
27
|
-
{
|
|
28
|
-
{
|
|
27
|
+
{%- block classes %}
|
|
28
|
+
{%- if classes %}
|
|
29
29
|
.. rubric:: {{ _('Classes') }}
|
|
30
30
|
|
|
31
31
|
.. autosummary::
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
{{ item }}
|
|
34
34
|
{%- endfor %}
|
|
35
35
|
{% endif %}
|
|
36
|
-
{
|
|
36
|
+
{%- endblock %}
|
|
37
37
|
|
|
38
|
-
{
|
|
39
|
-
{
|
|
38
|
+
{%- block exceptions %}
|
|
39
|
+
{%- if exceptions %}
|
|
40
40
|
.. rubric:: {{ _('Exceptions') }}
|
|
41
41
|
|
|
42
42
|
.. autosummary::
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
{{ item }}
|
|
45
45
|
{%- endfor %}
|
|
46
46
|
{% endif %}
|
|
47
|
-
{
|
|
47
|
+
{%- endblock %}
|
|
48
48
|
|
|
49
|
-
{
|
|
50
|
-
{
|
|
49
|
+
{%- block modules %}
|
|
50
|
+
{%- if modules %}
|
|
51
51
|
.. rubric:: Modules
|
|
52
52
|
|
|
53
53
|
.. autosummary::
|
|
@@ -57,4 +57,4 @@
|
|
|
57
57
|
{{ item }}
|
|
58
58
|
{%- endfor %}
|
|
59
59
|
{% endif %}
|
|
60
|
-
{
|
|
60
|
+
{%- endblock %}
|
sphinx/util/inventory.py
CHANGED
|
@@ -172,8 +172,8 @@ class InventoryFile:
|
|
|
172
172
|
inv_item: InventoryItem = projname, version, location, dispname
|
|
173
173
|
invdata.setdefault(type, {})[name] = inv_item
|
|
174
174
|
for ambiguity in actual_ambiguities:
|
|
175
|
-
logger.
|
|
176
|
-
|
|
175
|
+
logger.info(__("inventory <%s> contains multiple definitions for %s"),
|
|
176
|
+
uri, ambiguity, type='intersphinx', subtype='external')
|
|
177
177
|
return invdata
|
|
178
178
|
|
|
179
179
|
@classmethod
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sphinx/__init__.py,sha256=
|
|
1
|
+
sphinx/__init__.py,sha256=L0jzbPHxzSdBVmC-QfTfKvwdk3Mcz0s-A7JmZ-rLvP8,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
|
|
@@ -109,10 +109,10 @@ sphinx/ext/autodoc/preserve_defaults.py,sha256=eimSeG8656Z9KpCTuOKmbbASWLIDLbVUk
|
|
|
109
109
|
sphinx/ext/autodoc/type_comment.py,sha256=FclaU566JP0ly2k0XupMi9efnBKWiW1Zoc9L1cQdliI,5422
|
|
110
110
|
sphinx/ext/autodoc/typehints.py,sha256=LIO8sgLCCdvJAnmM5OSPQQHStwUa5igjZgnu803Fy4Q,7973
|
|
111
111
|
sphinx/ext/autosummary/__init__.py,sha256=L3EoGQX_URQRh-ap_Kde6d6oGrByYqkSn5uBCAdWWpo,31862
|
|
112
|
-
sphinx/ext/autosummary/generate.py,sha256=
|
|
112
|
+
sphinx/ext/autosummary/generate.py,sha256=q0n46AAiwCAwELSZ-pecEvL8OJFpLp3CISDKlXMMQkU,28199
|
|
113
113
|
sphinx/ext/autosummary/templates/autosummary/base.rst,sha256=AfG9oeDMTKBsBf2lUKr-NolOeV7ImT_JrKG3KQkEGzE,106
|
|
114
114
|
sphinx/ext/autosummary/templates/autosummary/class.rst,sha256=1uu4SSX9KRCeNlcr7FMRZ-DrPuW7E6tQ7QZC1asnAL0,553
|
|
115
|
-
sphinx/ext/autosummary/templates/autosummary/module.rst,sha256=
|
|
115
|
+
sphinx/ext/autosummary/templates/autosummary/module.rst,sha256=HuEHeghiPzJ5jgDNy3_3vZ7De-AtWZjgYx_57LrP9tM,1085
|
|
116
116
|
sphinx/ext/intersphinx/__init__.py,sha256=olSC7q5eSOaQ_hFv_YRMlUd4fVFzMaotspUCfc198_U,2675
|
|
117
117
|
sphinx/ext/intersphinx/__main__.py,sha256=zapvRzIUEUskvRfaYkf0okrNxPVL2rMWso4NvHOsz7g,218
|
|
118
118
|
sphinx/ext/intersphinx/_cli.py,sha256=pcq57fnqtKa_MO3Hl4KbvkKsaDhyJofYqrKVcQh_WeQ,1440
|
|
@@ -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=Mo9JGfs-4hFv8l94-w53L5uarrSMdWiagPCWjCeafI4,7967
|
|
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.6.dist-info/entry_points.txt,sha256=KU_c9jqXj7yyZylSz11XRIXG3gAZApQa0d5DmcfyA7M,188
|
|
588
|
+
sphinx-7.4.6.dist-info/LICENSE.rst,sha256=HdZPUFcmQaLySBc9fKvRC5aOUNkxL9Gz5py0p6XGDk4,3135
|
|
589
|
+
sphinx-7.4.6.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
|
590
|
+
sphinx-7.4.6.dist-info/METADATA,sha256=CvuHVqocZr1i5bNql51QIW9JtCIuLJ9Q0HcpyYRaQe4,6113
|
|
591
|
+
sphinx-7.4.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|