From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 15 Apr 2025 22:42:27 +0000 (+0200) Subject: [3.13] Docs: Synchronise ``indexsidebar.html`` with docsbuild-scripts (GH-132567... X-Git-Tag: v3.13.4~268 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a1a337d2802bcf8f38936ed96f3526056c3c5dd;p=thirdparty%2FPython%2Fcpython.git [3.13] Docs: Synchronise ``indexsidebar.html`` with docsbuild-scripts (GH-132567) (#132573) Docs: Synchronise ``indexsidebar.html`` with docsbuild-scripts (GH-132567) (cherry picked from commit 4f10b93d1b2f887b42ad59168a9fcbe75bdaaf87) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --- diff --git a/Doc/tools/templates/_docs_by_version.html b/Doc/tools/templates/_docs_by_version.html new file mode 100644 index 000000000000..1a84cfbf2292 --- /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 %}Stable{% endtrans %}
  • +
  • {% trans %}In development{% endtrans %}
  • diff --git a/Doc/tools/templates/indexsidebar.html b/Doc/tools/templates/indexsidebar.html index 5986204256f4..eea29e2449a9 100644 --- a/Doc/tools/templates/indexsidebar.html +++ b/Doc/tools/templates/indexsidebar.html @@ -2,11 +2,10 @@

    {% trans %}Download these documents{% endtrans %}

    {% trans %}Docs by version{% endtrans %}

    -

    {% trans %}Other resources{% endtrans %}