Skip to content

Commit

Permalink
Exclude the floating navbar from CHM help. (#84)
Browse files Browse the repository at this point in the history
Fixes #83.
  • Loading branch information
chrullrich committed Jan 11, 2022
1 parent 6c2b38f commit efb6c69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python_docs_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ <h3>{{ _('Navigation') }}</h3>

{%- block body_tag %}
{{ super() }}
{%- if builder != 'htmlhelp' %}
<div class="mobile-nav">
<input type="checkbox" id="menuToggler" class="toggler__input" aria-controls="navigation"
aria-pressed="false" aria-expanded="false" role="button" aria-label="{{ _('Menu')}}" />
Expand Down Expand Up @@ -116,6 +117,7 @@ <h3>{{ _('Navigation') }}</h3>
</nav>
</div>
</div>
{% endif -%}
{% endblock %}

{% block footer %}
Expand Down

0 comments on commit efb6c69

Please sign in to comment.