https://github.com/python/cpython
Raw File
Tip revision: 4b47a5b6ba66b02df9392feb97b8ead916f8c1fa authored by Ned Deily on 27 June 2020, 08:35:53 UTC
3.7.8
Tip revision: 4b47a5b
customsourcelink.html
{%- if show_source and has_source and sourcename %}
  <div role="note" aria-label="source link">
    <h3>{{ _('This Page') }}</h3>
    <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/{{ version }}/Doc/{{ sourcename|replace('.rst.txt', '.rst') }}"
            rel="nofollow">{{ _('Show Source') }}
        </a>
      </li>
    </ul>
  </div>
{%- endif %}
back to top