diff options
author | Mariatta <Mariatta@users.noreply.github.com> | 2018-02-23 18:02:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-23 18:02:30 (GMT) |
commit | 079d75d099f228a4261f63a94217571e05e8fa8e (patch) | |
tree | b3c0431bd311f2e347b6a1f1290799bd84a69fdb /Doc/tools | |
parent | 74b73642596caa287ee59bf7901ca009606c24cc (diff) | |
download | cpython-079d75d099f228a4261f63a94217571e05e8fa8e.zip cpython-079d75d099f228a4261f63a94217571e05e8fa8e.tar.gz cpython-079d75d099f228a4261f63a94217571e05e8fa8e.tar.bz2 |
bpo-32924: Fix the Show Source url in the docs. (GH-5835)
The Show Source link in Python 3.7 docs is pointing to GitHub's master branch.
It should point to the 3.7 branch.
Diffstat (limited to 'Doc/tools')
-rw-r--r-- | Doc/tools/templates/customsourcelink.html | 2 |
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> |