Sphinx 8.2.2__py3-none-any.whl → 8.2.3__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 CHANGED
@@ -17,7 +17,7 @@ TYPE_CHECKING = False
17
17
  if TYPE_CHECKING:
18
18
  from typing import Final
19
19
 
20
- __version__: Final = '8.2.2'
20
+ __version__: Final = '8.2.3'
21
21
  __display_version__: Final = __version__ # used for command line version
22
22
 
23
23
  warnings.filterwarnings(
@@ -35,7 +35,7 @@ warnings.filterwarnings(
35
35
  #:
36
36
  #: .. versionadded:: 1.2
37
37
  #: Before version 1.2, check the string ``sphinx.__version__``.
38
- version_info: Final = (8, 2, 2, 'final', 0)
38
+ version_info: Final = (8, 2, 3, 'final', 0)
39
39
 
40
40
  package_dir: Final = _StrPath(__file__).resolve().parent
41
41
 
@@ -1069,7 +1069,7 @@ class _CurrentDocument:
1069
1069
 
1070
1070
  def __contains__(self, item: str) -> bool:
1071
1071
  if item in {'c:parent_symbol', 'cpp:parent_symbol'}:
1072
- return getattr(self, item) is not None
1072
+ return getattr(self, self.__attr_map[item]) is not None
1073
1073
  return item in self.__attr_map or item in self._extension_data
1074
1074
 
1075
1075
  def __iter__(self) -> Iterator[str]:
sphinx/util/_pathlib.py CHANGED
@@ -57,6 +57,10 @@ if sys.platform == 'win32':
57
57
  warnings.warn(_MSG, RemovedInSphinx90Warning, stacklevel=2)
58
58
  return self.__str__() + other
59
59
 
60
+ def __radd__(self, other: str) -> str:
61
+ warnings.warn(_MSG, RemovedInSphinx90Warning, stacklevel=2)
62
+ return other + self.__str__()
63
+
60
64
  def __bool__(self) -> bool:
61
65
  if not self.__str__():
62
66
  warnings.warn(_MSG, RemovedInSphinx90Warning, stacklevel=2)
@@ -108,6 +112,10 @@ else:
108
112
  warnings.warn(_MSG, RemovedInSphinx90Warning, stacklevel=2)
109
113
  return self.__str__() + other
110
114
 
115
+ def __radd__(self, other: str) -> str:
116
+ warnings.warn(_MSG, RemovedInSphinx90Warning, stacklevel=2)
117
+ return other + self.__str__()
118
+
111
119
  def __bool__(self) -> bool:
112
120
  if not self.__str__():
113
121
  warnings.warn(_MSG, RemovedInSphinx90Warning, stacklevel=2)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Sphinx
3
- Version: 8.2.2
3
+ Version: 8.2.3
4
4
  Summary: Python documentation generator
5
5
  Author-email: Adam Turner <aa-turner@users.noreply.github.com>, Georg Brandl <georg@python.org>
6
6
  Requires-Python: >=3.11
@@ -1,4 +1,4 @@
1
- sphinx/__init__.py,sha256=ZfjwIZHKDh0rQTTEbBEIhvpetmLT0f1quSemHvPDb-c,1719
1
+ sphinx/__init__.py,sha256=aU-LYNyfE14rhQpuI4AnpOq8ylhSJSOu6CmSTfVRp1U,1719
2
2
  sphinx/__main__.py,sha256=PYSg7M8rY5VgULh3SJEaYMWsB1YFJw7f40b50yW8NEE,163
3
3
  sphinx/addnodes.py,sha256=QFvrCg9bGgH_zsGFVeUzGWcvqIQXtC-b7jXUYZEJRsk,18502
4
4
  sphinx/application.py,sha256=gjI_Sv3JARUUaGSPvaJlJ5TM8_tckDVnh0dBkSxZcaI,66927
@@ -76,7 +76,7 @@ sphinx/domains/python/__init__.py,sha256=4Aozi8Q91OvN9iVUjehu24p8hV7awVnSUHUfMEo
76
76
  sphinx/domains/python/_annotations.py,sha256=n3U3HCfCaBZLFckTGeXdQvkI1MypvvQkz-CJ6H8S880,24648
77
77
  sphinx/domains/python/_object.py,sha256=TnWnLL7jLs0-eW8-xHUTuXqHVjEub7DsyKMC_-37RBM,18323
78
78
  sphinx/domains/std/__init__.py,sha256=Tt5yVzybfNtHpocDE-SJgRFseYci7P3TApDoUBI0ppU,53450
79
- sphinx/environment/__init__.py,sha256=s7rsls8sbyYpRUYd3ZFeC1911UJNyGJOZ8USuACGI5c,42417
79
+ sphinx/environment/__init__.py,sha256=uF-Dbww-kK2kog37Ug1RuJU1p7-U5FyZKYwsrQET7Fo,42434
80
80
  sphinx/environment/adapters/__init__.py,sha256=VnDotW2UbxjWeVITmz7iTsVrzqQcvmLHr3euKqqKHwo,34
81
81
  sphinx/environment/adapters/asset.py,sha256=B7824D1Ng-wEHybu0yWHNMZd4ENh3Vn5BPrKivSOTaE,573
82
82
  sphinx/environment/adapters/indexentries.py,sha256=Jx84UmUbIi3f8O6mBRyVvrfcHKDPpJfNmi1lAeQWmvo,9781
@@ -559,7 +559,7 @@ sphinx/util/_importer.py,sha256=oGo_Yt-axe6M63x9akvf1UNw1tMMx1nU58TW8_MBcfQ,941
559
559
  sphinx/util/_inventory_file_reader.py,sha256=5XtzK-FBI5lQjMmYx4tg4E_T0Q9CMuVqu5hlW-R8JCk,2027
560
560
  sphinx/util/_io.py,sha256=3LbsJFG9D0zD8mkSBTA43oZmRQpJ4_ruHMYGB-WwwOw,884
561
561
  sphinx/util/_lines.py,sha256=d1rsmPjpaBNMKHASBXDS12wYrU7J9nLcu9NjzKQFss8,1071
562
- sphinx/util/_pathlib.py,sha256=_v6_SQCXYS9LKPzlXfIYeH5Yivj3eKyiCAhL5jWScJM,6384
562
+ sphinx/util/_pathlib.py,sha256=Ajgwu2l1S2mrVSgE-lj4eS3XfVFXrcqGAgFN421AZ5w,6708
563
563
  sphinx/util/_serialise.py,sha256=wseTSwl9bWjaNcIWhfK0iovj96Kwvs8nPQOHvKOK418,1911
564
564
  sphinx/util/_timestamps.py,sha256=YekgXCBsZWP264YU_6KOhD4W7Cnk9Dh7B6SeMa-c6iA,431
565
565
  sphinx/util/_uri.py,sha256=2kFOeh_aDl5C3m4ovWQfTiraUxRXaGWRHurh1rIxw4s,540
@@ -599,8 +599,8 @@ sphinx/writers/manpage.py,sha256=rwur1uSNhRsPlb4U1tXwtV3gqz-W1RD-yIw29Qmjxo4,155
599
599
  sphinx/writers/texinfo.py,sha256=WOMdKuYov6lt9PH34gsO1UbdYE48W3GdU0sZ7tw73pE,52791
600
600
  sphinx/writers/text.py,sha256=8FSF2vj0NaJHCMmHK3Rz6H8-iSMBpkyVT2VOT5-mLXA,43916
601
601
  sphinx/writers/xml.py,sha256=qaxAMR7htHmo3tQgqi9_8DD_B0HJEvz9hZH1iJwZkdk,1730
602
- sphinx-8.2.2.dist-info/entry_points.txt,sha256=KU_c9jqXj7yyZylSz11XRIXG3gAZApQa0d5DmcfyA7M,188
603
- sphinx-8.2.2.dist-info/licenses/LICENSE.rst,sha256=ZMlpGbuvOhO6oPEOQYzB_Ih2jOG5wH9be_SfD7I9sQY,1476
604
- sphinx-8.2.2.dist-info/WHEEL,sha256=_2ozNFCLWc93bK4WKHCO-eDUENDlo-dgc9cU3qokYO4,82
605
- sphinx-8.2.2.dist-info/METADATA,sha256=dPku9CfpwbGZMqq5IijmNfGgiJf3WjiXCDvtuvv6RiA,7013
606
- sphinx-8.2.2.dist-info/RECORD,,
602
+ sphinx-8.2.3.dist-info/entry_points.txt,sha256=KU_c9jqXj7yyZylSz11XRIXG3gAZApQa0d5DmcfyA7M,188
603
+ sphinx-8.2.3.dist-info/licenses/LICENSE.rst,sha256=ZMlpGbuvOhO6oPEOQYzB_Ih2jOG5wH9be_SfD7I9sQY,1476
604
+ sphinx-8.2.3.dist-info/WHEEL,sha256=_2ozNFCLWc93bK4WKHCO-eDUENDlo-dgc9cU3qokYO4,82
605
+ sphinx-8.2.3.dist-info/METADATA,sha256=mNtp45DJ-rtw8ikX_cjZFiRaTpREP5Sx_ldHY6KAsB8,7013
606
+ sphinx-8.2.3.dist-info/RECORD,,
File without changes