Skip to content

Commit 1e3ade5

Browse files
committedJul 10, 2022
Merge branch '5.x'
2 parents 3d175d9 + 9112cfe commit 1e3ade5

File tree

155 files changed

+798
-766
lines changed

Some content is hidden

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

155 files changed

+798
-766
lines changed
 

‎.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- python: "3.10"
2020
docutils: du18
2121
- python: "3.10"
22-
docutils: du19pre
22+
docutils: du19
2323
- python: "3.11-dev"
2424
docutils: py311
2525

‎CHANGES

+19-7
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,17 @@ Features added
4949
Pradyun Gedam.
5050
* #10619: LaTeX: new ``shadowShadowColor`` and ``shadowBorderColor`` configurations
5151
for :ref:`'sphinxsetup' <latexsphinxsetup>` key of :confval:`latex_elements`
52+
* #10639: LaTeX: ``verbatimradius`` configuration added to the LaTeX keys of
53+
:ref:`'sphinxsetup' <latexsphinxsetup>`. If positive, code-blocks are rendered
54+
with rounded corners.
55+
* #10599: HTML Theme: Wrap consecutive footnotes in an ``<aside>`` element when
56+
using Docutils 0.18 or later, to allow for easier styling. This matches the
57+
behaviour introduced in Docutils 0.19. Patch by Adam Turner.
5258

5359
Bugs fixed
5460
----------
5561

62+
* #10634: Make -P (pdb) option work better with exceptions triggered from events
5663
* #10031: py domain: Fix spurious whitespace in unparsing various operators (``+``,
5764
``-``, ``~``, and ``**``). Patch by Adam Turner.
5865
* #10460: logging: Always show node source locations as absolute paths.
@@ -64,6 +71,10 @@ Bugs fixed
6471
* #10633: LaTeX: user injected ``\color`` commands in topic or admonition boxes may
6572
cause color leaks in PDF due to upstream `framed.sty <https://ctan.org/pkg/framed>`_
6673
bug
74+
* #10638: LaTeX: framed coloured boxes in highlighted code (e.g. highlighted
75+
diffs using Pygments style ``'manni'``) inherit thickness of code-block frame
76+
* #10647: LaTeX: Only one ``\label`` is generated for ``desc_signature`` node
77+
even if it has multiple node IDs
6778
* #10579: i18n: UnboundLocalError is raised on translating raw directive
6879
* #9577, #10088: py domain: Fix warning for duplicate Python references when
6980
using ``:any:`` and autodoc.
@@ -316,7 +327,8 @@ Features added
316327
* #10107: i18n: Allow to suppress translation warnings by adding ``#noqa``
317328
comment to the tail of each translation message
318329
* #10252: C++, support attributes on classes, unions, and enums.
319-
* #10253: :rst:dir:`pep` role now generates URLs based on peps.python.org
330+
* #10253: :rst:role:`pep` role now generates URLs based on `peps.python.org
331+
<https://peps.python.org>`_
320332

321333
Bugs fixed
322334
----------
@@ -338,7 +350,7 @@ Bugs fixed
338350
variables/structure members
339351
* #10175: LaTeX: named footnote reference is linked to an incorrect footnote if
340352
the name is also used in the different document
341-
* #10269: manpage: Failed to resolve the title of :ref: cross references
353+
* #10269: manpage: Failed to resolve the title of :rst:role:`ref` cross references
342354
* #10179: i18n: suppress "rST localization" warning
343355
* #10118: imgconverter: Unnecessary availablity check is called for remote URIs
344356
* #10181: napoleon: attributes are displayed like class attributes for google
@@ -370,7 +382,7 @@ Features added
370382
by an extlink, suggesting a replacement.
371383
* #9961: html: Support nested <kbd> HTML elements in other HTML builders
372384
* #10013: html: Allow to change the loading method of JS via ``loading_method``
373-
parameter for :meth:`Sphinx.add_js_file()`
385+
parameter for :meth:`.Sphinx.add_js_file()`
374386
* #9551: html search: "Hide Search Matches" link removes "highlight" parameter
375387
from URL
376388
* #9815: html theme: Wrap sidebar components in div to allow customizing their
@@ -477,7 +489,7 @@ Incompatible changes
477489
with more docutils nodes to allow better CSS styling.
478490
It may break existing styling.
479491
* #9672: the signature of
480-
:py:meth:`domains.py.PyObject.get_signature_prefix` has changed to
492+
``domains.python.PyObject.get_signature_prefix`` has changed to
481493
return a list of nodes instead of a plain string.
482494
* #9695: ``domains.js.JSObject.display_prefix`` has been changed into a method
483495
``get_display_prefix`` which now returns a list of nodes
@@ -554,7 +566,7 @@ Bugs fixed
554566
* #9775: py domain: Literal typehint was converted to a cross reference when
555567
:confval:`autodoc_typehints='description'`
556568
* #9708: needs_extension failed to check double-digit version correctly
557-
* #9688: Fix :rst:dir:`code`` does not recognize ``:class:`` option
569+
* #9688: Fix Sphinx patched :dudir:`code` does not recognize ``:class:`` option
558570
* #9733: Fix for logging handler flushing warnings in the middle of the docs
559571
build
560572
* #9656: Fix warnings without subtype being incorrectly suppressed
@@ -574,7 +586,7 @@ Features added
574586
* #9447: html theme: Expose the version of Sphinx in the form of tuple as a
575587
template variable ``sphinx_version_tuple``
576588
* #9594: manpage: Suppress the title of man page if description is empty
577-
* #9445: py domain: ``:py:property:`` directive supports ``:classmethod:``
589+
* #9445: py domain: :rst:dir:`py:property` directive supports ``:classmethod:``
578590
option to describe the class property
579591
* #9524: test: SphinxTestApp can take ``builddir`` as an argument
580592
* #9535: C and C++, support more fundamental types, including GNU extensions.
@@ -6433,7 +6445,7 @@ Release 1.1.3 (Mar 10, 2012)
64336445
* #860: Do not crash when encountering invalid doctest examples, just
64346446
emit a warning.
64356447

6436-
* #864: Fix crash with some settings of `modindex_common_prefix`.
6448+
* #864: Fix crash with some settings of :confval:`modindex_common_prefix`.
64376449

64386450
* #862: Fix handling of ``-D`` and ``-A`` options on Python 3.
64396451

0 commit comments

Comments
 (0)
Please sign in to comment.