We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52b8c55 commit e15259cCopy full SHA for e15259c
Doc/tools/templates/layout.html
@@ -45,8 +45,9 @@
45
<h3>{{ _('This Page') }}</h3>
46
<ul class="this-page-menu">
47
<li><a href="{{ pathto('bugs') }}">{% trans %}Report a Bug{% endtrans %}</a></li>
48
- <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}"
49
- rel="nofollow">{% trans %}Show Source{% endtrans %}</a></li>
+ <li><a href="https://github.com/python/cpython/blob/{{ version }}/Doc/{{ sourcename|replace('txt', 'rst') }}"
+ rel="nofollow">{% trans %}Show Source{% endtrans %}</a>
50
+ </li>
51
</ul>
52
{%- endif %}
53
{% endblock %}
0 commit comments