summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2021-05-08 16:15:01 (GMT)
committerGitHub <noreply@github.com>2021-05-08 16:15:01 (GMT)
commit03acfc50ac0be8b49847b94dee93e21b1efa0e76 (patch)
treef4c5e3928f953470c48dc945d764578a4ebf4cd2 /Doc/tools
parent90d584a2ab91cc0f30e90a0a99f8c1447eb51302 (diff)
downloadcpython-03acfc50ac0be8b49847b94dee93e21b1efa0e76.zip
cpython-03acfc50ac0be8b49847b94dee93e21b1efa0e76.tar.gz
cpython-03acfc50ac0be8b49847b94dee93e21b1efa0e76.tar.bz2
bpo-32924: Fix the Show Source url in the documentation (GH-25994)
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/templates/customsourcelink.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/templates/customsourcelink.html b/Doc/tools/templates/customsourcelink.html
index fca44e9..21af621 100644
--- a/Doc/tools/templates/customsourcelink.html
+++ b/Doc/tools/templates/customsourcelink.html
@@ -4,7 +4,7 @@
<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>