From 9897b9619659e143faf5a74e7962c9ff3e6ccf41 Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 15 May 2026 12:43:22 +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 e6a38b1d3..6d96f97f5 100644 --- a/docs/sphinx_rtd_theme_chm_friendly/layout.html +++ b/docs/sphinx_rtd_theme_chm_friendly/layout.html @@ -15,7 +15,9 @@ = (7, 2) %} data-content_root="{{ content_root }}"{% endif %}> + {% if 'htmlhelp' not in builder %} + {% endif %} {%- if READTHEDOCS and not embedded %} {%- endif %} @@ -197,11 +199,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 %}