diff options
author | Mariatta <Mariatta@users.noreply.github.com> | 2019-06-21 18:06:26 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-06-21 18:06:26 (GMT) |
commit | 52c4a4fb816d51a36c02b043d6fd5eeb875411d6 (patch) | |
tree | 09b735e03c5e46ec50e75ee9eb31a68cb5d5b150 /Doc/tools | |
parent | 6c7947713a40851e123493ca0fe8f2791d7ed2a6 (diff) | |
download | cpython-52c4a4fb816d51a36c02b043d6fd5eeb875411d6.zip cpython-52c4a4fb816d51a36c02b043d6fd5eeb875411d6.tar.gz cpython-52c4a4fb816d51a36c02b043d6fd5eeb875411d6.tar.bz2 |
[3.8] bpo-32924: Fix the Show Source url in 3.8 documentation. (GH-14282)
The "Show Source" link in Python 3.8 docs is pointing
to the master branch. It should point to the 3.8 branch.
https://bugs.python.org/issue32924
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> |