From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 14 May 2025 15:22:27 +0000 (+0200) Subject: [3.13] Docs: remove link elements in builders other than HTML (GH-133720) (#134006) X-Git-Tag: v3.13.4~114 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ab8aafe5511350aa17ab7f6fdbcaaf0d64d0f069;p=thirdparty%2FPython%2Fcpython.git [3.13] Docs: remove link elements in builders other than HTML (GH-133720) (#134006) 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 %}