2 llvm-openmp-theme/layout.html
5 Sphinx layout template for LLVM/OpenMP which as an almost identical clone
6 of the agogo theme, originally written by Andi Albrecht.
8 :copyright: Copyright
2007-
2020 by the Sphinx team, see AUTHORS.
9 :license: BSD, see LICENSE for details.
11 {%- extends
"basic/layout.html" %}
14 <div class=
"header-wrapper" role=
"banner">
17 <p class=
"logo"><a href=
"{{ pathto(master_doc)|e }}">
18 <img class=
"logo" src=
"{{ pathto('_static/' + logo, 1)|e }}" alt=
"Logo"/>
21 {%- block headertitle %}
22 <div class=
"headertitle"><a
23 href=
"{{ pathto(master_doc)|e }}">{{ shorttitle|e }}
</a></div>
25 <div class=
"rel" role=
"navigation" aria-label=
"related navigation">
26 <a href=
"{{ pathto('index') }}" title=
"LLVM OpenMP Documentation">HOME
</a>
28 {%- for rellink in rellinks|reverse %}
29 <a href=
"{{ pathto(rellink[0])|e }}" title=
"{{ rellink[1]|striptags|e }}"
30 {{ accesskey(rellink[
2]) }}
>{{ rellink[
3] }}
</a>
31 {%- if not loop.last %}{{ reldelim2 }}{% endif %}
39 {%- macro llvm_openmp_sidebar() %}
40 {%- block sidebartoc %}
41 <h3>{{ _('Table of Contents') }}
</h3>
42 {{ toctree(includehidden=True, titles_only=True, maxdepth=
2) }}
44 {%- block sidebarsearch %}
46 <h3 style=
"margin-top: 1.5em;">{{ _('Search') }}
</h3>
47 <form class=
"search" action=
"{{ pathto('search') }}" method=
"get">
48 <input type=
"text" name=
"q" />
49 <input type=
"submit" value=
"{{ _('Go') }}" />
56 <div class=
"content-wrapper">
58 {%- if not theme_rightsidebar|tobool %}
60 {{ llvm_openmp_sidebar() }}
63 <div class=
"document">
68 {%- if theme_rightsidebar|tobool %}
70 {{ llvm_openmp_sidebar() }}
73 <div class=
"clearer"></div>
79 <div class=
"footer-wrapper">
82 <div role=
"navigation" aria-label=
"related navigaton">
83 <a href=
"{{ pathto('index') }}" title=
"LLVM OpenMP Documentation">HOME
</a>
85 {%- for rellink in rellinks|reverse %}
86 <a href=
"{{ pathto(rellink[0])|e }}" title=
"{{ rellink[1]|striptags|e }}"
87 {{ accesskey(rellink[
2]) }}
>{{ rellink[
3] }}
</a>
88 {%- if not loop.last %}{{ reldelim2 }}{% endif %}
91 <div role=
"note" aria-label=
"source link">
92 {%- if show_source and has_source and sourcename %}
94 <a href=
"{{ pathto('_sources/' + sourcename, true)|e }}"
95 rel=
"nofollow">{{ _('Show Source') }}
</a>
103 <div class=
"clearer"></div>
108 {% block relbar1 %}{% endblock %}
109 {% block relbar2 %}{% endblock %}