From 83d1b698bcc18c1c5015ecf87a3ef702ca7091c4 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 30 Jul 2023 17:42:41 +0300 Subject: [PATCH 1/4] Add changelog for 2023.7 --- CHANGELOG.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1d0d8a0..2e32082 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,22 @@ Changelog ========= +`2023.7 `_ +---------------------------------------------------------------------------- + +- Do not append asset hashes on Sphinx 7.1+ (#137) + Contributed by Pradyun Gedam +- Use correct block, enable built-in slash keypress (#141) + Contributed by Mike Fiedler +- Sphinx 6.2 fix: add ``nav.contents`` where that ``div.topic`` is used (#138) + Contributed by Hugo van Kemenade +- Dark mode: fix contrast for C++ specific styling (#133) + Contributed by Hugo van Kemenade +- Don't let long code literals extend beyond the right side of the screen (#139) + Contributed by Hugo van Kemenade +- Test 3.12 branch, now `main` is 3.13 (#140) + Contributed by Hugo van Kemenade + `2023.5 `_ ---------------------------------------------------------------------------- From 17dd77dc44f612becbaf955fcd3004115e1206cb Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 30 Jul 2023 17:43:21 +0300 Subject: [PATCH 2/4] Consistent formatting --- CHANGELOG.rst | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2e32082..aa53870 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -22,15 +22,15 @@ Changelog ---------------------------------------------------------------------------- - Add a dark theme. (#44) - Contributed by Nils K + Contributed by Nils K - Fix: Remove searchbox id from form. (fixes #117) - Contributed by Nils K + Contributed by Nils K - Update ``python-docs-theme`` to work with Sphinx 5 & 6. (#99 & #127) - Contributed by Adam Turner + Contributed by Adam Turner - Override font for ``.sig`` for consistency with other code blocks. (#121) - Contributed by Chris Warrick + Contributed by Chris Warrick - Dark mode: add class to invert image brightness. (#128) - Contributed by Hugo van Kemenade + Contributed by Hugo van Kemenade `2023.3.1 `_ @@ -60,27 +60,27 @@ Changelog ----------------------------------------------------------------------------------- - Fix monospace again, on buggy Google Chrome (#87) - Contributed by Tushar Sadhwani + Contributed by Tushar Sadhwani `2021.11 `_ ------------------------------------------------------------------------------- - Fix monospace on buggy Google Chrome (#85) - Contributed by Tushar Sadhwani + Contributed by Tushar Sadhwani `2021.8 `_ ------------------------------------------------------------------------------ - Add the copyright_url variable in the theme (#67) - Contributed by jablonskidev + Contributed by jablonskidev - Improve readability (#79) - Contributed by Olga Bulat + Contributed by Olga Bulat - Remove #searchbox on mobile to fix a layout bug (#76) - Contributed by Olga Bulat + Contributed by Olga Bulat - Fix the appearance of version/language selects (#74) - Contributed by Olga Bulat + Contributed by Olga Bulat `2021.5 `_ From 7e0b2e45bde90ad6a452526a9b97b16db4c90a54 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 30 Jul 2023 17:49:55 +0300 Subject: [PATCH 3/4] Bump version to 2023.7 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5f93a6b..b4179d1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi" # project metadata [project] name = "python-docs-theme" -version = "2023.5" +version = "2023.7" description = "The Sphinx theme for the CPython docs and related projects" readme = "README.rst" urls.Code = "https://github.com/python/python-docs-theme" From ac97b7664325fa1ce5dc1ebcf7fb71a3ada7ea24 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 30 Jul 2023 22:23:06 +0300 Subject: [PATCH 4/4] Improve wording Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --- CHANGELOG.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index aa53870..b275b76 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,17 +5,17 @@ Changelog `2023.7 `_ ---------------------------------------------------------------------------- -- Do not append asset hashes on Sphinx 7.1+ (#137) +- Fix compatability with Sphinx 7.1 (#137) Contributed by Pradyun Gedam -- Use correct block, enable built-in slash keypress (#141) +- Enable the slash keypress to focus the search field (#141) Contributed by Mike Fiedler -- Sphinx 6.2 fix: add ``nav.contents`` where that ``div.topic`` is used (#138) +- Sphinx 6.2 fix: add ``nav.contents`` where ``div.topic`` is used (#138) Contributed by Hugo van Kemenade - Dark mode: fix contrast for C++ specific styling (#133) Contributed by Hugo van Kemenade - Don't let long code literals extend beyond the right side of the screen (#139) Contributed by Hugo van Kemenade -- Test 3.12 branch, now `main` is 3.13 (#140) +- Test with Python 3.12 (#140) Contributed by Hugo van Kemenade `2023.5 `_