mirror of
https://github.com/python/cpython.git
synced 2026-01-06 23:42:34 +00:00
[3.14] Link to plaintext for "show source" links (GH-137131) (#137132)
Link to plaintext for "show source" links (GH-137131)
(cherry picked from commit 9cbf46d992)
Co-authored-by: ryan-duve <ryan-duve@users.noreply.github.com>
This commit is contained in:
parent
fc911a93cb
commit
47a2109c1a
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue