Move back the _static/_templates dirs

This commit is contained in:
Griatch 2020-06-13 23:10:42 +02:00
parent ba29424eed
commit 548ffa18ab
5 changed files with 2 additions and 2 deletions

View file

@ -0,0 +1,13 @@
{#
basic/localtoc.html
~~~~~~~~~~~~~~~~~~~
Sphinx sidebar template: local table of contents.
:copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
#}
{%- if display_toc %}
<p><h3><a href="{{ pathto(master_doc) }}">{{ _('Table of Contents') }}</a></h3>
{{ toc }}
{%- endif %}

View file

@ -0,0 +1,13 @@
{#
Page source link
#}
{%- if show_source and has_source and sourcename %}
<div role="note" aria-label="source link">
<!--h3>{{ _('This Page') }}</h3-->
<ul class="this-page-menu">
<li><a href="{{ pathto('_sources/' + sourcename, true)|e }}"
rel="nofollow">{{ _('Show Page Source') }}</a></li>
</ul>
</div>
{%- endif %}

View file

@ -0,0 +1,8 @@
{% if versions %}
<h3>{{ _('Versions') }}</h3>
<ul>
{%- for item in versions %}
<li><a href="{{ item.url }}">{{ item.release }} ({{ item.name }} branch)</a></li>
{%- endfor %}
</ul>
{% endif %}