| 1 |
<footer> |
| 2 |
{%- if (theme_prev_next_buttons_location == 'bottom' or theme_prev_next_buttons_location == 'both') and (next or prev) %} |
| 3 |
{#- Translators: This is an ARIA section label for the footer section of the page. -#} |
| 4 |
<div class="rst-footer-buttons" role="navigation" aria-label="{{ _('Footer') }}"> |
| 5 |
{%- if prev %} |
| 6 |
<a href="{{ prev.link|e }}" class="btn btn-neutral float-left" title="{{ prev.title|striptags|e }}" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> {{ _('Previous') }}</a> |
| 7 |
{%- endif %} |
| 8 |
{%- if next %} |
| 9 |
<a href="{{ next.link|e }}" class="btn btn-neutral float-right" title="{{ next.title|striptags|e }}" accesskey="n" rel="next">{{ _('Next') }} <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> |
| 10 |
{%- endif %} |
| 11 |
</div> |
| 12 |
{%- endif %} |
| 13 |
|
| 14 |
<hr/> |
| 15 |
|
| 16 |
<div role="contentinfo"> |
| 17 |
{%- block contentinfo %} |
| 18 |
<p> |
| 19 |
{%- if show_copyright %} |
| 20 |
{%- if hasdoc('copyright') %} |
| 21 |
{%- trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %} |
| 22 |
{%- else %} |
| 23 |
{%- trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %} |
| 24 |
{%- endif %} |
| 25 |
{%- endif %} |
| 26 |
|
| 27 |
{%- if build_id and build_url %} |
| 28 |
<span class="build"> |
| 29 |
{#- Translators: Build is a noun, not a verb -#} |
| 30 |
{%- trans %}Build{% endtrans -%} |
| 31 |
<a href="{{ build_url }}">{{ build_id }}</a>. |
| 32 |
</span> |
| 33 |
{%- elif commit %} |
| 34 |
<span class="commit"> |
| 35 |
{#- Translators: the phrase "revision" comes from Git, referring to a commit #} |
| 36 |
{%- trans %}Revision{% endtrans %} <code>{{ commit }}</code>. |
| 37 |
</span> |
| 38 |
{%- endif %} |
| 39 |
{%- if last_updated %} |
| 40 |
<span class="lastupdated"> |
| 41 |
{%- trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} |
| 42 |
</span> |
| 43 |
{%- endif -%} |
| 44 |
|
| 45 |
</p> |
| 46 |
{%- endblock %} |
| 47 |
</div> |
| 48 |
|
| 49 |
{% if show_sphinx %} |
| 50 |
{%- set sphinx_web = '<a href="https://www.sphinx-doc.org/">Sphinx</a>' %} |
| 51 |
{%- set readthedocs_web = '<a href="https://readthedocs.org">Read the Docs</a>' %} |
| 52 |
{#- Translators: the variable "sphinx_web" is a link to the Sphinx project documentation with the text "Sphinx" #} |
| 53 |
{%- trans sphinx_web=sphinx_web, readthedocs_web=readthedocs_web %}Built with {{ sphinx_web }} using a{% endtrans %} |
| 54 |
{#- Translators: "theme" refers to a theme for Sphinx, which alters the appearance of the generated documentation #} |
| 55 |
<a href="https://github.com/readthedocs/sphinx_rtd_theme">{% trans %}theme{% endtrans %}</a> |
| 56 |
{#- Translators: this is always used as "provided by Read the Docs", and should not imply Read the Docs is an author of the generated documentation. #} |
| 57 |
{% trans %}provided by {{ readthedocs_web }}{% endtrans %}. |
| 58 |
{% endif %} |
| 59 |
|
| 60 |
{%- block extrafooter %} {% endblock %} |
| 61 |
|
| 62 |
</footer> |