Skip to content

Commit b93bd15

Browse files
authored
[3.11] Docs: Fix the Show Source link (GH-100733)
See also python/release-tools#10
1 parent 7e9b2b0 commit b93bd15

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)