Debian Codegraph @

docs/_themes/material/sourcelink.html

raw
1 {#
2 basic/sourcelink.html
3 ~~~~~~~~~~~~~~~~~~~~~
4
5 Sphinx sidebar template: "show source" link.
6
7 :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
8 :license: BSD, see LICENSE for details.
9 #}
10 {%- if show_source and has_source and sourcename %}
11 <div role="note" aria-label="source link">
12 <h3>{{ _('This Page') }}</h3>
13 <ul class="this-page-menu">
14 <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}"
15 rel="nofollow">{{ _('Show Source') }}</a></li>
16 </ul>
17 </div>
18 {%- endif %}