footer.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <footer>
  2. {% if 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">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" title="{{ prev.title|striptags|e }}" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>
  9. {% endif %}
  10. </div>
  11. {% endif %}
  12. <hr/>
  13. <div role="contentinfo">
  14. <p>
  15. {%- if show_copyright %}
  16. {%- if hasdoc('copyright') %}
  17. {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
  18. {%- else %}
  19. {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
  20. {%- endif %}
  21. {%- endif %}
  22. {%- if build_id and build_url %}
  23. {% trans build_url=build_url, build_id=build_id %}
  24. <span class="build">
  25. Build
  26. <a href="{{ build_url }}">{{ build_id }}</a>.
  27. </span>
  28. {% endtrans %}
  29. {%- elif commit %}
  30. {% trans commit=commit %}
  31. <span class="commit">
  32. Revision <code>{{ commit }}</code>.
  33. </span>
  34. {% endtrans %}
  35. {%- elif last_updated %}
  36. {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
  37. {%- endif %}
  38. </p>
  39. </div>
  40. {%- if show_sphinx %}
  41. {% trans %}Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>{% endtrans %}.
  42. {%- endif %}
  43. {%- block extrafooter %} {% endblock %}
  44. </footer>