Skip to content

Commit ade4f89

Browse files
committed
[3.11] Docs: Fix the Show Source link
See also python/release-tools#10
1 parent f49006e commit ade4f89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tools/templates/customsourcelink.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ <h3>{{ _('This Page') }}</h3>
44
<ul class="this-page-menu">
55
<li><a href="{{ pathto('bugs') }}">{% trans %}Report a Bug{% endtrans %}</a></li>
66
<li>
7-
<a href="https://github.com/python/cpython/blob/main/Doc/{{ sourcename|replace('.rst.txt', '.rst') }}"
7+
<a href="https://github.com/python/cpython/blob/{{ version }}/Doc/{{ sourcename|replace('.rst.txt', '.rst') }}"
88
rel="nofollow">{{ _('Show Source') }}
99
</a>
1010
</li>

0 commit comments

Comments
 (0)