Files
percona-toolkit/config/sphinx-build/_static/_templates/theme/localtoc.html
Alina Derkach ffb4057d77 PT-2420 Test how to add the Get Help widget and Get help page
modified:   config/sphinx-build/_static/_templates/theme/relbar2.html
	new file:   docs/get-help.rst
	modified:   docs/index.rst
2025-01-20 17:13:11 +01:00

26 lines
920 B
HTML

{% set toc_nodes = derender_toc(toc, True, pagename) if display_toc else [] %}
<nav class="md-nav md-nav--secondary">
{%- if display_toc and toc_nodes and sidebars and 'localtoc.html' in sidebars %}
<label class="md-nav__title" for="__toc">Contents</label>
{%- endif %}
<ul class="md-nav__list" data-md-scrollfix="">
{%- if display_toc and sidebars and 'localtoc.html' in sidebars %}
{%- for item in toc_nodes recursive %}
<li class="md-nav__item"><a href="{{ item.href|e }}" class="md-nav__link">{{ item.contents }}</a>
{%- if item.children -%}
<nav class="md-nav">
<ul class="md-nav__list">{{ loop(item.children) }}</ul>
</nav>
{%- endif %}
</li>
{%- endfor %}
{%- endif %}
{%- if show_source %}
{% include "sourcelink.html" %}
{%- endif %}
{% if theme_repo_url|e %}
{% endif %}
</ul>
</nav>