From e33263270da6c8230fbb1891d71e42f328797ed6 Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 10 May 2021 16:17:46 +0100 Subject: [PATCH] Remove encoding & embedded js that breaks htmlhelp builder --- docs/sphinx_rtd_theme_chm_friendly/layout.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/sphinx_rtd_theme_chm_friendly/layout.html b/docs/sphinx_rtd_theme_chm_friendly/layout.html index ca16d1662..9ae683eff 100644 --- a/docs/sphinx_rtd_theme_chm_friendly/layout.html +++ b/docs/sphinx_rtd_theme_chm_friendly/layout.html @@ -12,7 +12,9 @@ + {% if 'htmlhelp' not in builder %} + {% endif %} {{ metatags }} {% block htmltitle %} @@ -218,11 +220,14 @@ {% include "versions.html" %} + {# Do not insert script tag for htmlhelp #} + {% if 'htmlhelp' not in builder %} + {% endif %} {# Do not conflict with RTD insertion of analytics script #} {% if not READTHEDOCS %}