From 001db7cf3b601cf6ed7e10a65d885e0254ed3e2e Mon Sep 17 00:00:00 2001 From: Christian Ullrich Date: Fri, 3 Sep 2021 16:58:24 +0200 Subject: [PATCH] Exclude the floating navbar from CHM help. Fixes #83. --- python_docs_theme/layout.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python_docs_theme/layout.html b/python_docs_theme/layout.html index 3b35d9c..9666c63 100644 --- a/python_docs_theme/layout.html +++ b/python_docs_theme/layout.html @@ -78,6 +78,7 @@

{{ _('Navigation') }}

{%- block body_tag %} {{ super() }} +{%- if builder != 'htmlhelp' %}
@@ -116,6 +117,7 @@

{{ _('Navigation') }}

+{% endif -%} {% endblock %} {% block footer %}