{# sphinxdoc/layout.html ~~~~~~~~~~~~~~~~~~~~~ Sphinx layout template for the sphinxdoc theme. :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. #} {% extends "basic/layout.html" %} {# Like the regular sidebar from the Basic theme but move the Search box to the top #} {%- macro sidebar2() %} {%- if render_sidebar %}
{%- endif %} {%- endmacro %} {# put the sidebar before the body #} {% block sidebar1 %}{{ sidebar2() }}{% endblock %} {% block sidebar2 %}{% endblock %}