https://github.com/python/cpython/commit/47a2109c1a9dd9fd213d5def2dd60dda12426d37
commit: 47a2109c1a9dd9fd213d5def2dd60dda12426d37
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2025-07-27T09:54:41+03:00
summary:

[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 9cbf46d9920c269fe736ed689236d00223545f73)

Co-authored-by: ryan-duve <[email protected]>

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]

Reply via email to