2016-09-09 13:11:27 -07:00
|
|
|
{%- if show_source and has_source and sourcename %}
|
|
|
|
|
<div role="note" aria-label="source link">
|
2025-05-22 11:57:42 +02:00
|
|
|
<h3>{{ _('This page') }}</h3>
|
2016-09-09 13:11:27 -07:00
|
|
|
<ul class="this-page-menu">
|
2025-05-22 11:57:42 +02:00
|
|
|
<li><a href="{{ pathto('bugs') }}">{% trans %}Report a bug{% endtrans %}</a></li>
|
2017-02-12 13:07:05 -08:00
|
|
|
<li>
|
2021-05-08 17:13:24 +01:00
|
|
|
<a href="https://github.com/python/cpython/blob/main/Doc/{{ sourcename|replace('.rst.txt', '.rst') }}"
|
2025-05-22 11:57:42 +02:00
|
|
|
rel="nofollow">{{ _('Show source') }}
|
2017-02-12 13:07:05 -08:00
|
|
|
</a>
|
|
|
|
|
</li>
|
2016-09-09 13:11:27 -07:00
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
{%- endif %}
|