Skip to content

Commit 8093afd

Browse files
committed
Merge branch '4.x' into new-tutorial-describing-code
2 parents 92f316a + c66b3ad commit 8093afd

File tree

108 files changed

+3426
-3161
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+3426
-3161
lines changed

CHANGES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Bugs fixed
2727
* #9509: autodoc: AttributeError is raised on failed resolving typehints
2828
* #9518: autodoc: autodoc_docstring_signature does not effect to ``__init__()``
2929
and ``__new__()``
30+
* #9522: autodoc: PEP 585 style typehints having arguments (ex. ``list[int]``)
31+
are not displayed well
3032
* #9481: autosummary: some warnings contain non-existing filenames
3133
* #9481: c domain: some warnings contain non-existing filenames
3234
* #9481: cpp domain: some warnings contain non-existing filenames
@@ -54,6 +56,10 @@ Features added
5456
Bugs fixed
5557
----------
5658

59+
* #9504: autodoc: generate incorrect reference to the parent class if the target
60+
class inherites the class having ``_name`` attribute
61+
* #9537: autodoc: Some objects under ``typing`` module are not displayed well
62+
with the HEAD of 3.10
5763
* #9512: sphinx-build: crashed with the HEAD of Python 3.10
5864

5965
Testing

doc/development/tutorials/examples/recipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def handle_signature(self, sig, signode):
2424

2525
def add_target_and_index(self, name_cls, sig, signode):
2626
signode['ids'].append('recipe' + '-' + sig)
27-
if 'contains' not in self.options:
27+
if 'contains' in self.options:
2828
ingredients = [
2929
x.strip() for x in self.options.get('contains').split(',')]
3030

doc/usage/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ of images:
223223

224224
.. _Docker Hub: https://hub.docker.com/
225225
.. _sphinxdoc/sphinx: https://hub.docker.com/repository/docker/sphinxdoc/sphinx
226-
.. _sphinxdoc/sphinx-latexpdf: https://hub.docker.com/repository/docker/sphinxdoc/sphinx-latexpdf>
226+
.. _sphinxdoc/sphinx-latexpdf: https://hub.docker.com/repository/docker/sphinxdoc/sphinx-latexpdf
227227

228228
Former one is used for standard usage of Sphinx, and latter one is mainly used for
229229
PDF builds using LaTeX. Please choose one for your purpose.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)