{% if (theme_prev_next_buttons_location == 'bottom' or theme_prev_next_buttons_location == 'both') and (next or prev) %}
{% if next %} {{ _('Next') }} {% endif %} {% if prev %} {{ _('Previous') }} {% endif %}
{% endif %}

{%- if show_copyright %} {%- if hasdoc('copyright') %} {% set path = pathto('copyright') %} {% set copyright = copyright|e %} © {% trans %}Copyright{% endtrans %} {{ copyright }} {%- else %} {% set copyright = copyright|e %} © {% trans %}Copyright{% endtrans %} {{ copyright }} {%- endif %} {%- endif %} {%- if build_id and build_url %} {# Translators: Build is a noun, not a verb #} {% trans %}Build{% endtrans %} {{ build_id }}. {%- elif commit %} {% trans %}Revision{% endtrans %} {{ commit }}. {%- elif last_updated %} {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} {%- endif %}

{%- if show_sphinx %} {% set sphinx_web = 'Sphinx' %} {% set readthedocs_web = 'Read the Docs' %} {% trans sphinx_web=sphinx_web, readthedocs_web=readthedocs_web %}Built with {{ sphinx_web }} using a{% endtrans %} {% trans %}theme{% endtrans %} {% trans %}provided by {{ readthedocs_web }}{% endtrans %}. {%- endif %} {%- block extrafooter %} {% endblock %}