| 1 |
<div role="navigation" aria-label="breadcrumbs navigation"> |
| 2 |
<ul class="wy-breadcrumbs"> |
| 3 |
<li><a href="{{ nav.homepage.url|url }}" class="icon icon-home" aria-label="{% trans %}Docs{% endtrans %}"></a></li> |
| 4 |
{%- if page %} |
| 5 |
{%- for doc in page.ancestors[::-1] %} |
| 6 |
{%- if doc.url %} |
| 7 |
<li class="breadcrumb-item"><a href="{{ doc.url|url }}">{{ doc.title }}</a></li> |
| 8 |
{%- else %} |
| 9 |
<li class="breadcrumb-item">{{ doc.title }}</li> |
| 10 |
{%- endif %} |
| 11 |
{%- endfor %} |
| 12 |
<li class="breadcrumb-item active">{{ page.title }}</li> |
| 13 |
{%- endif %} |
| 14 |
<li class="wy-breadcrumbs-aside"> |
| 15 |
{%- block repo %} |
| 16 |
{%- if page and page.edit_url %} |
| 17 |
{%- if config.repo_name|lower == 'github' %} |
| 18 |
<a href="{{ page.edit_url }}" class="icon icon-github"> {% trans repo_name=config.repo_name %}Edit on {{ repo_name }}{% endtrans %}</a> |
| 19 |
{%- elif config.repo_name|lower == 'bitbucket' %} |
| 20 |
<a href="{{ page.edit_url }}" class="icon icon-bitbucket"> {% trans repo_name=config.repo_name %}Edit on {{ repo_name }}{% endtrans %}</a> |
| 21 |
{%- elif config.repo_name|lower == 'gitlab' %} |
| 22 |
<a href="{{ page.edit_url }}" class="icon icon-gitlab"> {% trans repo_name=config.repo_name %}Edit on {{ repo_name }}{% endtrans %}</a> |
| 23 |
{%- elif config.repo_name %} |
| 24 |
<a href="{{ page.edit_url }}">{% trans repo_name=config.repo_name %}Edit on {{ repo_name }}{% endtrans %}</a> |
| 25 |
{%- else %} |
| 26 |
<a href="{{ page.edit_url }}">{% trans %}Edit{% endtrans %}</a> |
| 27 |
{%- endif %} |
| 28 |
{%- endif %} |
| 29 |
{%- endblock %} |
| 30 |
</li> |
| 31 |
</ul> |
| 32 |
{%- if config.theme.prev_next_buttons_location|lower in ['top', 'both'] |
| 33 |
and page and (page.next_page or page.previous_page) %} |
| 34 |
<div class="rst-breadcrumbs-buttons" role="navigation" aria-label="{% trans %}Breadcrumb Navigation{% endtrans %}"> |
| 35 |
{%- if page.previous_page %} |
| 36 |
<a href="{{ page.previous_page.url|url }}" class="btn btn-neutral float-left" title="{{ page.previous_page.title }}"><span class="icon icon-circle-arrow-left" aria-hidden="true"></span> {% trans %}Previous{% endtrans %}</a> |
| 37 |
{%- endif %} |
| 38 |
{%- if page.next_page %} |
| 39 |
<a href="{{ page.next_page.url|url }}" class="btn btn-neutral float-right" title="{{ page.next_page.title }}">{% trans %}Next{% endtrans %} <span class="icon icon-circle-arrow-right" aria-hidden="true"></span></a> |
| 40 |
{%- endif %} |
| 41 |
</div> |
| 42 |
{%- endif %} |
| 43 |
<hr/> |
| 44 |
</div> |