| 1 |
========== |
| 2 |
Sphinx 5.1 |
| 3 |
========== |
| 4 |
|
| 5 |
|
| 6 |
Release 5.1.1 (released Jul 26, 2022) |
| 7 |
===================================== |
| 8 |
|
| 9 |
Bugs fixed |
| 10 |
---------- |
| 11 |
|
| 12 |
* #10701: Fix ValueError in the new ``deque`` based ``sphinx.ext.napoleon`` |
| 13 |
iterator implementation. |
| 14 |
* #10702: Restore compatibility with third-party builders. |
| 15 |
|
| 16 |
Release 5.1.0 (released Jul 24, 2022) |
| 17 |
===================================== |
| 18 |
|
| 19 |
Dependencies |
| 20 |
------------ |
| 21 |
|
| 22 |
* #10656: Support `Docutils 0.19`_. Patch by Adam Turner. |
| 23 |
|
| 24 |
.. _Docutils 0.19: https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-19-2022-07-05 |
| 25 |
|
| 26 |
Deprecated |
| 27 |
---------- |
| 28 |
|
| 29 |
* #10467: Deprecated ``sphinx.util.stemmer`` in favour of ``snowballstemmer``. |
| 30 |
Patch by Adam Turner. |
| 31 |
* #9856: Deprecated ``sphinx.ext.napoleon.iterators``. |
| 32 |
|
| 33 |
Features added |
| 34 |
-------------- |
| 35 |
|
| 36 |
* #10444: html theme: Allow specifying multiple CSS files through the ``stylesheet`` |
| 37 |
setting in ``theme.conf`` or by setting ``html_style`` to an iterable of strings. |
| 38 |
* #10366: std domain: Add support for emphasising placeholders in :rst:dir:`option` |
| 39 |
directives through a new :confval:`option_emphasise_placeholders` configuration |
| 40 |
option. |
| 41 |
* #10439: std domain: Use the repr of some variables when displaying warnings, |
| 42 |
making whitespace issues easier to identify. |
| 43 |
* #10571: quickstart: Reduce content in the generated ``conf.py`` file. Patch by |
| 44 |
Pradyun Gedam. |
| 45 |
* #10648: LaTeX: CSS-named-alike additional :ref:`'sphinxsetup' <latexsphinxsetup>` |
| 46 |
keys allow to configure four separate border-widths, four paddings, four |
| 47 |
corner radii, a shadow (possibly inset), colours for border, background, shadow |
| 48 |
for each of the code-block, topic, attention, caution, danger, error and warning |
| 49 |
directives. |
| 50 |
* #10655: LaTeX: Explain non-standard encoding in LatinRules.xdy |
| 51 |
* #10599: HTML Theme: Wrap consecutive footnotes in an ``<aside>`` element when |
| 52 |
using Docutils 0.18 or later, to allow for easier styling. This matches the |
| 53 |
behaviour introduced in Docutils 0.19. Patch by Adam Turner. |
| 54 |
* #10518: config: Add ``include_patterns`` as the opposite of ``exclude_patterns``. |
| 55 |
Patch by Adam Turner. |
| 56 |
|
| 57 |
Bugs fixed |
| 58 |
---------- |
| 59 |
|
| 60 |
* #10594: HTML Theme: field term colons are doubled if using Docutils 0.18+ |
| 61 |
* #10596: Build failure if Docutils version is 0.18 (not 0.18.1) due |
| 62 |
to missing ``Node.findall()`` |
| 63 |
* #10506: LaTeX: build error if highlighting inline code role in figure caption |
| 64 |
(refs: #10251) |
| 65 |
* #10634: Make -P (pdb) option work better with exceptions triggered from events |
| 66 |
* #10550: py domain: Fix spurious whitespace in unparsing various operators (``+``, |
| 67 |
``-``, ``~``, and ``**``). Patch by Adam Turner (refs: #10551). |
| 68 |
* #10460: logging: Always show node source locations as absolute paths. |
| 69 |
* HTML Search: HTML tags are displayed as a part of object name |
| 70 |
* HTML Search: search snippets should not be folded |
| 71 |
* HTML Search: Minor errors are emitted on fetching search snippets |
| 72 |
* HTML Search: The markers for header links are shown in the search result |
| 73 |
* #10520: HTML Theme: Fix use of sidebar classes in ``agogo.css_t``. |
| 74 |
* #6679: HTML Theme: Fix inclusion of hidden toctrees in the agogo theme. |
| 75 |
* #10566: HTML Theme: Fix enable_search_shortcuts does not work |
| 76 |
* #8686: LaTeX: Text can fall out of code-block at end of page and leave artifact |
| 77 |
on next page |
| 78 |
* #10633: LaTeX: user injected ``\color`` commands in topic or admonition boxes may |
| 79 |
cause color leaks in PDF due to upstream `framed.sty |
| 80 |
<https://ctan.org/pkg/framed>`_ bug |
| 81 |
* #10638: LaTeX: framed coloured boxes in highlighted code (e.g. highlighted |
| 82 |
diffs using Pygments style ``'manni'``) inherit thickness of code-block frame |
| 83 |
* #10647: LaTeX: Only one ``\label`` is generated for ``desc_signature`` node |
| 84 |
even if it has multiple node IDs |
| 85 |
* #10579: i18n: UnboundLocalError is raised on translating raw directive |
| 86 |
* #9577, #10088: py domain: Fix warning for duplicate Python references when |
| 87 |
using ``:any:`` and autodoc. |
| 88 |
* #10548: HTML Search: fix minor summary issues. |