From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 14 May 2025 15:23:12 +0000 (+0200) Subject: [3.12] Docs: remove link elements in builders other than HTML (GH-133720) (#134007) X-Git-Tag: v3.12.11~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0c92fc364c195243b7af85014926f109c9a910dc;p=thirdparty%2FPython%2Fcpython.git [3.12] Docs: remove link elements in builders other than HTML (GH-133720) (#134007) Co-authored-by: Maciej Olko --- diff --git a/Doc/tools/templates/layout.html b/Doc/tools/templates/layout.html index 56023ebf9627..1cb0200822d9 100644 --- a/Doc/tools/templates/layout.html +++ b/Doc/tools/templates/layout.html @@ -26,11 +26,11 @@ {% endblock %} {% block extrahead %} - {% if builder == "html" and enable_analytics %} + {% if builder == "html" %} + {% if enable_analytics %} - {% endif %} - - {% if builder != "htmlhelp" %} + {% endif %} + {% if pagename == 'whatsnew/changelog' and not embedded %} {% endif %} {% endif %}