<footer>
    {%- if (theme_prev_next_buttons_location == 'bottom' or theme_prev_next_buttons_location == 'both') and (next or prev) %}
      {#- Translators: This is an ARIA section label for the footer section of the page. -#}
      <div class="rst-footer-buttons" role="navigation" aria-label="{{ _('Footer') }}">
        {%- if prev %}
          <a href="{{ prev.link|e }}" class="float-left prev-page" title="{{ prev.title|striptags|e }}" accesskey="p" rel="prev">
            <span class="fa fa-angle-left" aria-hidden="true"></span>
            <div class="page-info">
                <div class="context">{{ _('Previous') }}</div>
                {% if prev.link == pathto(master_doc) %}
                <div class="title">{{ _('Home') }}</div>
                {% else %}
                <div class="title">{{ prev.title }}</div>
                {% endif %}
            </div>
          </a>
        {%- endif %}
        {%- if next %}
          <a href="{{ next.link|e }}" class="float-right next-page" title="{{ next.title|striptags|e }}" accesskey="n" rel="next">
            <div class="page-info">
                <div class="context">{{ _('Next') }}</div>
                <div class="title">{{ next.title|striptags|e }}</div>
            </div>
            <span class="fa fa-angle-right" aria-hidden="true"></span>
          </a>
        {%- endif %}
      </div>
    {%- endif %}
  
    <hr/>
  
    <div class="footer" role="contentinfo">
    {%- block contentinfo %}
      <p>
      {%- if show_copyright %}
        {%- if hasdoc('copyright') %}
          {%- trans path=pathto('copyright'), copyright=copyright|e %}&#169; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
        {%- else %}
          {%- trans copyright=copyright|e %}&#169; Copyright {{ copyright }}.{% endtrans %}
        {%- endif %}
      {%- endif %}
  
      {%- if build_id and build_url %}
        <span class="build">
          {#- Translators: Build is a noun, not a verb -#}
          {%- trans %}Build{% endtrans -%}
          <a href="{{ build_url }}">{{ build_id }}</a>.
        </span>
      {%- elif commit %}
        <span class="commit">
          {#- Translators: the phrase "revision" comes from Git, referring to a commit #}
          {%- trans %}Revision{% endtrans %} <code>{{ commit }}</code>.
        </span>
      {%- endif %}
      {%- if last_updated %}
        <span class="lastupdated">
          {%- trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
        </span>
      {%- endif -%}
  
      </p>
    {%- endblock %}
    </div>
  
    {% if show_sphinx %}
      {%- set sphinx_web = '<a href="https://www.sphinx-doc.org/" target="_blank">Sphinx</a>' %}
      {%- set readthedocs_web = '<a href="https://readthedocs.org" target="_blank">Read the Docs</a>'  %}
      {%- set furo_web = '<a href="https://github.com/pradyunsg/furo" target="_blank">Furo</a>'  %}
      {%- trans sphinx_web=sphinx_web, readthedocs_web=readthedocs_web, furo_web=furo_web %}Built with {{ sphinx_web }} using a theme based on {{ readthedocs_web }} and {{ furo_web }}.{% endtrans %}
    {% endif %}
  
    {%- block extrafooter %} {% endblock %}
  
  </footer>