From 154c3900419c5222fbd3de2bbfa915d4cab72b14 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 27 Feb 2026 16:50:58 +0200 Subject: [PATCH] Prepare 2026.2 release --- CHANGELOG.md | 6 ++++++ CONTRIBUTING.md | 5 +++-- python_docs_theme/__init__.py | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 069a114..0c28c8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [2026.2](https://github.com/python/python-docs-theme/releases/tag/2026.2) + +* Style codeblock `:caption:` by @StanFromIreland in https://github.com/python/python-docs-theme/pull/288 +* Enable copy button for shell sessions and consoles by @hugovk in https://github.com/python/python-docs-theme/pull/295 +* Add colors for thread safety annotations by @lysnikolaou in https://github.com/python/python-docs-theme/pull/297 + ## [2025.12](https://github.com/python/python-docs-theme/releases/tag/2025.12) * Add support for green, red and yellow side borders for code examples by @hugovk in https://github.com/python/python-docs-theme/pull/285 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f26b902..4ca0f05 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -7,9 +7,10 @@ [GitHub Actions](https://github.com/python/python-docs-theme/actions) - Go to https://github.com/python/python-docs-theme/releases - Click "Draft a new release" -- Click "Choose a tag" +- Click "Tag: Select tag" - Type the next YYYY.MM version (no leading zero) and - select "**Create new tag: YYYY.MM** on publish" + select "Create new tag" +- Click "Create" for "YYYY.MM will be created on publish" - Leave the "Release title" blank (it will be autofilled) - Click "Generate release notes" and amend as required - Click "Publish release" diff --git a/python_docs_theme/__init__.py b/python_docs_theme/__init__.py index a6c8f18..026329b 100644 --- a/python_docs_theme/__init__.py +++ b/python_docs_theme/__init__.py @@ -11,7 +11,7 @@ from sphinx.application import Sphinx from sphinx.util.typing import ExtensionMetadata -__version__ = "2025.12" +__version__ = "2026.2" THEME_PATH = Path(__file__).resolve().parent LOCALE_DIR = THEME_PATH / "locale"