summaryrefslogtreecommitdiff
path: root/doc/source/theme/sphinx_rtd_theme/footer.html
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-02-07 20:54:20 +0100
committermathieui <mathieui@mathieui.net>2015-02-07 21:14:48 +0100
commit61f28d7ffeae0b6a8fd8ca0617e082e2196df622 (patch)
tree293bb9830aa215e415f34bb24c8846cb8d13b3b7 /doc/source/theme/sphinx_rtd_theme/footer.html
parentcc91486f8a3619a61e803d990284b040797a1944 (diff)
downloadpoezio-61f28d7ffeae0b6a8fd8ca0617e082e2196df622.tar.gz
poezio-61f28d7ffeae0b6a8fd8ca0617e082e2196df622.tar.bz2
poezio-61f28d7ffeae0b6a8fd8ca0617e082e2196df622.tar.xz
poezio-61f28d7ffeae0b6a8fd8ca0617e082e2196df622.zip
Change the sphinx theme to one derived from readthedocs
(without stuff like the unicode codepoint agressions and external resources) This should be cleaner and look good on mobile devices too.
Diffstat (limited to 'doc/source/theme/sphinx_rtd_theme/footer.html')
-rw-r--r--doc/source/theme/sphinx_rtd_theme/footer.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/source/theme/sphinx_rtd_theme/footer.html b/doc/source/theme/sphinx_rtd_theme/footer.html
new file mode 100644
index 00000000..c510a978
--- /dev/null
+++ b/doc/source/theme/sphinx_rtd_theme/footer.html
@@ -0,0 +1,33 @@
+<footer>
+ {% if next or prev %}
+ <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
+ {% if next %}
+ <a href="{{ next.link|e }}" class="btn btn-neutral float-right" title="{{ next.title|striptags|e }}">Next</a>
+ {% endif %}
+ {% if prev %}
+ <a href="{{ prev.link|e }}" class="btn btn-neutral" title="{{ prev.title|striptags|e }}">Previous</a>
+ {% endif %}
+ </div>
+ {% endif %}
+
+ <hr/>
+
+ <div role="contentinfo">
+ <p>
+ {%- if show_copyright %}
+ {%- if hasdoc('copyright') %}
+ {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
+ {%- else %}
+ {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
+ {%- endif %}
+ {%- endif %}
+
+ {%- if last_updated %}
+ {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
+ {%- endif %}
+ </p>
+ </div>
+
+ {% 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 %}.
+
+</footer>