From e0ed03d6952e70bc7f24c3bed624d06cadf7344c Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Tue, 15 Apr 2025 20:12:02 +0100 Subject: [PATCH] Docs: Synchronise ``indexsidebar.html`` with docsbuild-scripts --- Doc/tools/templates/_docs_by_version.html | 11 +++++++++++ Doc/tools/templates/indexsidebar.html | 5 ++--- 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 Doc/tools/templates/_docs_by_version.html diff --git a/Doc/tools/templates/_docs_by_version.html b/Doc/tools/templates/_docs_by_version.html new file mode 100644 index 00000000000000..1a84cfbf229207 --- /dev/null +++ b/Doc/tools/templates/_docs_by_version.html @@ -0,0 +1,11 @@ +{# +This file is only used in indexsidebar.html, where it is included in the docs +by version list. For non-end-of-life branches, build_docs.py overwrites this +list with the full list of versions. + +Keep the following two files synchronised: +* cpython/Doc/tools/templates/_docs_by_version.html +* docsbuild-scripts/templates/_docs_by_version.html +#} +
{% trans %}Download these documents{% endtrans %}