From cc1f6cb9f48dc3b84228eb0b5e46018fba5d57f4 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Sun, 24 Jul 2022 13:03:30 +0100 Subject: [PATCH] Bump to 5.1.0 final --- CHANGES | 47 +++++++++------------------------------------- sphinx/__init__.py | 4 ++-- 2 files changed, 11 insertions(+), 40 deletions(-) diff --git a/CHANGES b/CHANGES index 0e7a748b76d..07da6cfe61d 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,5 @@ -Release 5.1.0 (in development) -============================== +Release 5.1.0 (released Jul 24, 2022) +===================================== Dependencies ------------ @@ -8,9 +8,6 @@ Dependencies .. _Docutils 0.19: https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-19-2022-07-05 -Incompatible changes --------------------- - Deprecated ---------- @@ -21,6 +18,8 @@ Deprecated Features added -------------- +* #10444: html theme: Allow specifying multiple CSS files through the ``stylesheet`` + setting in ``theme.conf`` or by setting ``html_style`` to an iterable of strings. * #10366: std domain: Add support for emphasising placeholders in :rst:dir:`option` directives through a new :confval:`option_emphasise_placeholders` configuration option. @@ -43,6 +42,11 @@ Features added Bugs fixed ---------- +* #10594: HTML Theme: field term colons are doubled if using Docutils 0.18+ +* #10596: Build failure if Docutils version is 0.18 (not 0.18.1) due + to missing ``Node.findall()`` +* #10506: LaTeX: build error if highlighting inline code role in figure caption + (refs: #10251) * #10634: Make -P (pdb) option work better with exceptions triggered from events * #10031: py domain: Fix spurious whitespace in unparsing various operators (``+``, ``-``, ``~``, and ``**``). Patch by Adam Turner. @@ -68,39 +72,6 @@ Bugs fixed using ``:any:`` and autodoc. * #10548: HTML Search: fix minor summary issues. -Testing --------- - -Release 5.0.3 (in development) -============================== - -Dependencies ------------- - -Incompatible changes --------------------- - -Deprecated ----------- - -Features added --------------- - -* #10444: html theme: Allow specifying multiple CSS files through the ``stylesheet`` - setting in ``theme.conf`` or by setting ``html_style`` to an iterable of strings. - -Bugs fixed ----------- - -* #10594: HTML Theme: field term colons are doubled if using Docutils 0.18+ -* #10596: Build failure if Docutils version is 0.18 (not 0.18.1) due - to missing ``Node.findall()`` -* #10506: LaTeX: build error if highlighting inline code role in figure caption - (refs: #10251) - -Testing --------- - Release 5.0.2 (released Jun 17, 2022) ===================================== diff --git a/sphinx/__init__.py b/sphinx/__init__.py index 3fd1fe0f044..aa865cc8d5d 100644 --- a/sphinx/__init__.py +++ b/sphinx/__init__.py @@ -21,7 +21,7 @@ warnings.filterwarnings('ignore', 'The frontend.Option class .*', DeprecationWarning, module='docutils.frontend') -__version__ = '5.1.0+' +__version__ = '5.1.0' __released__ = '5.1.0' # used when Sphinx builds its own docs #: Version info for better programmatic use. @@ -32,7 +32,7 @@ #: #: .. versionadded:: 1.2 #: Before version 1.2, check the string ``sphinx.__version__``. -version_info = (5, 1, 0, 'beta', 0) +version_info = (5, 1, 0, 'final', 0) package_dir = path.abspath(path.dirname(__file__))