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