| 1 |
{%- if show_source and has_source and sourcename %} |
| 2 |
<div role="note" aria-label="source link"> |
| 3 |
<h3>{{ _('This page') }}</h3> |
| 4 |
<ul class="this-page-menu"> |
| 5 |
<li><a href="{{ pathto('bugs') }}">{% trans %}Report a bug{% endtrans %}</a></li> |
| 6 |
<li> |
| 7 |
<a href="https://github.com/python/cpython/blob/main/Doc/{{ sourcename|replace('.rst.txt', '.rst') }}?plain=1" |
| 8 |
rel="nofollow">{{ _('Show source') }} |
| 9 |
</a> |
| 10 |
</li> |
| 11 |
{% if language != "en" %} |
| 12 |
<li> |
| 13 |
<a href="https://github.com/python/python-docs-{{ language }}/blob/{{ version }}/{{ pagename }}.po?plain=1" |
| 14 |
rel="nofollow">{{ _('Show translation source') }}</a> |
| 15 |
</li> |
| 16 |
{% endif %} |
| 17 |
</ul> |
| 18 |
</div> |
| 19 |
{%- endif %} |