[3.13] Link to plaintext for "show source" links (GH-137131) (#137133)

Co-authored-by: ryan-duve <ryan-duve@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2025-07-27 03:55:51 +02:00 committed by GitHub
parent a995a11b23
commit 2b84dfdf97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,7 @@ <h3>{{ _('This page') }}</h3>
<ul class="this-page-menu">
<li><a href="{{ pathto('bugs') }}">{% trans %}Report a bug{% endtrans %}</a></li>
<li>
<a href="https://github.com/python/cpython/blob/main/Doc/{{ sourcename|replace('.rst.txt', '.rst') }}"
<a href="https://github.com/python/cpython/blob/main/Doc/{{ sourcename|replace('.rst.txt', '.rst') }}?plain=1"
rel="nofollow">{{ _('Show source') }}
</a>
</li>