diff --git a/docs/source/_templates/layout.html b/docs/source/_templates/layout.html index c0ecc66..7360336 100644 --- a/docs/source/_templates/layout.html +++ b/docs/source/_templates/layout.html @@ -1,8 +1,29 @@ {% extends "!layout.html" %} - {% block menu %} - {{ super() }} -
- Index -
- {% endblock %} +{%- block sidebartitle %} +{%- set _logo_url = logo_url|default(pathto('_static/' + (logo or ""), 1)) %} + + {% if not theme_logo_only %}{{ project }}{% endif %} + {%- if logo or logo_url %} + + {%- endif %} + + +{%- if READTHEDOCS or DEBUG %} +{%- if theme_version_selector or theme_language_selector %} +
+
+
+
+{%- endif %} +{%- endif %} + +{%- include "searchbox.html" %} +{%- endblock %} + +{% block menu %} +{{ super() }} +
+ Index +
+{% endblock %} \ No newline at end of file