1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
{#
https://stackoverflow.com/questions/25243482/how-to-add-sphinx-generated-index-to-the-sidebar-when-using-read-the-docs-theme
#}
{% extends "!layout.html" %}
{% block sidebartitle %}
<a href="{{ pathto(master_doc) }}">
{{ project }}
{%- set nav_version = version %}
{% if READTHEDOCS and current_version %}
{%- set nav_version = current_version %}
{% endif %}
{# don't show the version on RTD if it's the default #}
{% if nav_version != 'latest' %}
<div class="trio-version">{{ nav_version }}</div>
{% endif %}
<br>
<img class="logo" src="{{ pathto('_static/' + logo_url, 1) }}" />
</a>
{% include "searchbox.html" %}
<p class="trio-help-hint">Need help? <a
href="https://gitter.im/python-trio/general">Live chat</a>, <a
href="https://trio.discourse.group">forum</a>, <a
href="https://stackoverflow.com/questions/ask?tags=python+python-trio">StackOverflow</a>.</p>
{% endblock %}
|