Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitefb6c69

Browse files
authored
Exclude the floating navbar from CHM help. (#84)
Fixes#83.
1 parent6c2b38f commitefb6c69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎python_docs_theme/layout.html

Lines changed: 2 additions & 0 deletions
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
<divclass="mobile-nav">
8283
<inputtype="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)

[8]ページ先頭

©2009-2025 Movatter.jp