Skip to content

Commit efb6c69

Browse files
authored
Exclude the floating navbar from CHM help. (#84)
Fixes #83.
1 parent 6c2b38f commit efb6c69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: python_docs_theme/layout.html

+2
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ <h3>{{ _('Navigation') }}</h3>
7878

7979
{%- block body_tag %}
8080
{{ super() }}
81+
{%- if builder != 'htmlhelp' %}
8182
<div class="mobile-nav">
8283
<input type="checkbox" id="menuToggler" class="toggler__input" aria-controls="navigation"
8384
aria-pressed="false" aria-expanded="false" role="button" aria-label="{{ _('Menu')}}" />
@@ -116,6 +117,7 @@ <h3>{{ _('Navigation') }}</h3>
116117
</nav>
117118
</div>
118119
</div>
120+
{% endif -%}
119121
{% endblock %}
120122

121123
{% block footer %}

0 commit comments

Comments
 (0)