1<footer> 2 {% if (theme_prev_next_buttons_location == 'bottom' or theme_prev_next_buttons_location == 'both') and (next or prev) %} 3 <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation"> 4 {% if next %} 5 <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"></span></a> 6 {% endif %} 7 {% if prev %} 8 <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"></span> {{ _('Previous') }}</a> 9 {% endif %} 10 </div> 11 {% endif %} 12 13 <hr/> 14 15 <div role="contentinfo"> 16 <p> 17 {%- if show_copyright %} 18 {%- if hasdoc('copyright') %} 19 {% set path = pathto('copyright') %} 20 {% set copyright = copyright|e %} 21 © <a href="{{ path }}">{% trans %}Copyright{% endtrans %}</a> {{ copyright }} 22 {%- else %} 23 {% set copyright = copyright|e %} 24 © {% trans %}Copyright{% endtrans %} {{ copyright }} 25 {%- endif %} 26 {%- endif %} 27 28 {%- if build_id and build_url %} 29 <span class="build"> 30 {# Translators: Build is a noun, not a verb #} 31 {% trans %}Build{% endtrans %} 32 <a href="{{ build_url }}">{{ build_id }}</a>. 33 </span> 34 {%- elif commit %} 35 <span class="commit"> 36 {# Translators: the phrase "revision" comes from Git, referring to a commit #} 37 {% trans %}Revision{% endtrans %} <code>{{ commit }}</code>. 38 </span> 39 {%- endif %} 40 {%- if last_updated %} 41 <span class="lastupdated"> 42 {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} 43 </span> 44 {%- endif %} 45 46 </p> 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 documenation #} 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> 63 64