https://github.com/python/cpython/commit/9cbf46d9920c269fe736ed689236d00223545f73
commit: 9cbf46d9920c269fe736ed689236d00223545f73
branch: main
author: ryan-duve <[email protected]>
committer: AA-Turner <[email protected]>
date: 2025-07-27T02:48:56+01:00
summary:
Link to plaintext for "show source" links (#137131)
files:
M Doc/tools/templates/customsourcelink.html
diff --git a/Doc/tools/templates/customsourcelink.html
b/Doc/tools/templates/customsourcelink.html
index 43d3a7a892a880..8e271bca1e08c8 100644
--- a/Doc/tools/templates/customsourcelink.html
+++ b/Doc/tools/templates/customsourcelink.html
@@ -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>
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]