File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 9
9
{% endif %}
10
10
{% endblock %}
11
11
12
+ {%- macro relbar() %}
13
+ {# modified from sphinx/themes/basic/layout.html #}
14
+ < div class ="related " role ="navigation " aria-label ="related navigation ">
15
+ < h3 > {{ _('Navigation') }}</ h3 >
16
+ < ul >
17
+ {%- for rellink in rellinks %}
18
+ < li class ="right " {% if loop.first %}style ="margin-right: 10px "{% endif %} >
19
+ < a href ="{{ pathto(rellink[0])|e }} " title ="{{ rellink[1]|striptags|e }} "
20
+ {{ accesskey(rellink[2]) }} > {{ rellink[3] }}</ a >
21
+ {%- if not loop.first %}{{ reldelim2 }}{% endif %}</ li >
22
+ {%- endfor %}
23
+ {%- block rootrellink %}
24
+ < li class ="nav-item nav-item-0 "> < a href ="{{ pathto(master_doc)|e }} "> {{ shorttitle|e }}</ a > {{ reldelim1 }}</ li >
25
+ {%- endblock %}
26
+ < div class ="language_switcher_placeholder "> </ div >
27
+ < div class ="version_switcher_placeholder "> </ div >
28
+ {%- for parent in parents %}
29
+ < li class ="nav-item nav-item-{{ loop.index }} "> < a href ="{{ parent.link|e }} " {% if loop.last %}{{ accesskey( "U") }}{% endif %}> {{ parent.title }}</ a > {{ reldelim1 }}</ li >
30
+ {%- endfor %}
31
+ < li class ="nav-item nav-item-this "> < a href ="{{ link|e }} "> {{ title }}</ a > </ li >
32
+ {%- block relbaritems %} {% endblock %}
33
+ </ ul >
34
+ </ div >
35
+ {%- endmacro %}
36
+
12
37
{%- macro searchbox() %}
13
38
{# modified from sphinx/themes/basic/searchbox.html #}
14
39
{%- if builder != "htmlhelp" %}
You can’t perform that action at this time.
0 commit comments