Only show Sphinx theme notice if show_sphinx is enabled

This commit is contained in:
Nicola Iarocci 2014-02-05 09:37:33 +01:00 committed by Eric Holscher
parent 65d27e93b6
commit af40ce390a

View File

@ -28,6 +28,7 @@
</p> </p>
</div> </div>
{%- if show_sphinx %}
{% 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 %}. {% 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 %}.
{%- endif %}
</footer> </footer>