From 891819101a4c16632bd753512ea87ef7ef5e3cb2 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 13 Aug 2023 23:13:14 -0600 Subject: [PATCH 1/2] Revert "Use correct block, enable built-in slash keypress" --- python_docs_theme/layout.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python_docs_theme/layout.html b/python_docs_theme/layout.html index f830491..b4502ba 100644 --- a/python_docs_theme/layout.html +++ b/python_docs_theme/layout.html @@ -82,7 +82,12 @@

{{ _('Navigation') }}

{{ super() }} {%- endblock -%} -{%- block document %} +{%- block css -%} + + {{ super() }} +{%- endblock -%} + +{%- block body_tag %} {{ super() }} {%- if builder != 'htmlhelp' %}
From fc8a8bd0d389aaa8696f3dca6f4a3b118ee5e01f Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Mon, 14 Aug 2023 08:35:45 +0300 Subject: [PATCH 2/2] Bump version to allow CI conflict resolution due to https://github.com/python/cpython/pull/107666 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b4179d1..4042fd5 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.7" +version = "2023.8" description = "The Sphinx theme for the CPython docs and related projects" readme = "README.rst" urls.Code = "https://github.com/python/python-docs-theme"