{% 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') %} {% trans path=pathto('copyright'), copyright=copyright|e %}© Copyright {{ copyright }}{% endtrans %} {%- elif hasdoc('license') %} {% trans path=pathto('license'), copyright=copyright|e %}© Copyright {{ copyright }}{% endtrans %} {%- else %} {% trans copyright=copyright|e %}© Copyright {{ copyright }}{% endtrans %} {%- endif %} {%- endif %} {%- if build_id and build_url %} {% trans build_url=build_url, build_id=build_id %} Build {{ build_id }}. {% endtrans %} {%- elif commit %} Revision {% if github_user and github_repo%} {% else %} {% endif %} {{ commit }} {% if github_user and github_repo%} {% else %} {% endif %}. {%- elif last_updated %} {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} {%- endif %}

{%- if show_sphinx %} {% trans %}Built with Sphinx {{ sphinx_version }} using a theme provided by Read the Docs{% endtrans %}. {%- endif %} {% if show_source and has_source and sourcename %} {{ _('Show Source') }}. {% endif %} {%- block extrafooter %} {% endblock %}