Debian Codegraph @

docs/_templates/breadcrumbs.html

raw
1 {# Support for Sphinx 1.3+ page_source_suffix, but don't break old builds. #}
2
3 {% if page_source_suffix %}
4 {% set suffix = page_source_suffix %}
5 {% else %}
6 {% set suffix = source_suffix %}
7 {% endif %}
8
9 {% if meta is defined and meta is not none %}
10 {% set check_meta = True %}
11 {% else %}
12 {% set check_meta = False %}
13 {% endif %}
14
15 <div role="navigation" aria-label="breadcrumbs navigation">
16
17 <ul class="wy-breadcrumbs">
18 {% block breadcrumbs %}
19 <li><a href="{{ pathto(master_doc) }}">{{ _('Docs') }}</a> &raquo;</li>
20 {% for doc in parents %}
21 <li><a href="{{ doc.link|e }}">{{ doc.title }}</a> &raquo;</li>
22 {% endfor %}
23 <li>{{ title }}</li>
24 {% endblock %}
25 {% block breadcrumbs_aside %}
26 <li class="wy-breadcrumbs-aside">
27 <a href="https://github.com/dials/data" class="fa fa-github"> View project on GitHub</a>
28 </li>
29 {% endblock %}
30 </ul>
31
32 {% if (theme_prev_next_buttons_location == 'top' or theme_prev_next_buttons_location == 'both') and (next or prev) %}
33 <div class="rst-breadcrumbs-buttons" role="navigation" aria-label="breadcrumb navigation">
34 {% if next %}
35 <a href="{{ next.link|e }}" class="btn btn-neutral float-right" title="{{ next.title|striptags|e }}" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
36 {% endif %}
37 {% if prev %}
38 <a href="{{ prev.link|e }}" class="btn btn-neutral float-left" title="{{ prev.title|striptags|e }}" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>
39 {% endif %}
40 </div>
41 {% endif %}
42 <hr/>
43 </div>