Further additions to the theme
This commit is contained in:
parent
ccab070776
commit
310eeb0fe5
4 changed files with 53 additions and 22 deletions
13
docs/source/_templates/localtoc.html
Normal file
13
docs/source/_templates/localtoc.html
Normal 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 %}
|
||||
13
docs/source/_templates/sourcelink.html
Normal file
13
docs/source/_templates/sourcelink.html
Normal 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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue