[Python-checkins] bpo-32924: Fix the Show Source url in the documentation (GH-25994)
pablogsal
webhook-mailer at python.org
Sat May 8 12:15:05 EDT 2021
https://github.com/python/cpython/commit/03acfc50ac0be8b49847b94dee93e21b1efa0e76
commit: 03acfc50ac0be8b49847b94dee93e21b1efa0e76
branch: 3.10
author: Pablo Galindo <Pablogsal at gmail.com>
committer: pablogsal <Pablogsal at gmail.com>
date: 2021-05-08T17:15:01+01:00
summary:
bpo-32924: Fix the Show Source url in the documentation (GH-25994)
files:
M Doc/tools/templates/customsourcelink.html
diff --git a/Doc/tools/templates/customsourcelink.html b/Doc/tools/templates/customsourcelink.html
index fca44e9163cac7..21af621efce95b 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/master/Doc/{{ sourcename|replace('.rst.txt', '.rst') }}"
+ <a href="https://github.com/python/cpython/blob/{{ version }}/Doc/{{ sourcename|replace('.rst.txt', '.rst') }}"
rel="nofollow">{{ _('Show Source') }}
</a>
</li>
More information about the Python-checkins
mailing list