Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated nomenclature documentation by removing the methods from being listed in the sidebar #238

Merged
merged 1 commit into from
Apr 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions doc/source/_templates/navigation.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<!-- this is a hard override because alabaster does not have an option
to set the tocdepth in the navigation sidebar,
see https://github.com/bitprophet/alabaster/issues/89 -->

<h3>{{ _('Navigation') }}</h3>
{{ toctree(maxdepth=4, includehidden=theme_sidebar_includehidden, collapse=theme_sidebar_collapse) }}
{% if theme_extra_nav_links %}
<hr />
<ul>
{% for text, uri in theme_extra_nav_links.items() %}
<li class="toctree-l1"><a href="{{ uri }}">{{ text }}</a></li>
{% endfor %}
</ul>
{% endif %}
<!-- this is a hard override because alabaster does not have an option
to set the tocdepth in the navigation sidebar,
see https://github.com/bitprophet/alabaster/issues/89 -->
<h3>{{ _('Navigation') }}</h3>
{{ toctree(maxdepth=2, includehidden=theme_sidebar_includehidden, collapse=theme_sidebar_collapse) }}
{% if theme_extra_nav_links %}
<hr />
<ul>
{% for text, uri in theme_extra_nav_links.items() %}
<li class="toctree-l1"><a href="{{ uri }}">{{ text }}</a></li>
{% endfor %}
</ul>
{% endif %}