Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[backport to 3.5] bpo-28929: Link the documentation to its source file on GitHub#36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Mariatta merged 2 commits intopython:3.5fromMariatta:issue-28928-3.5
Feb 12, 2017
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
NextNext commit
bpo-28929: Link the documentation to its source file on GitHub
Change the documentation's `Show Source` link on the left menuto GitHub source file.(cherry picked from commit23bafa2)
  • Loading branch information
@Mariatta
Mariatta committedFeb 12, 2017
commit7bf45662dec9e2f08282e91f6fe99a65fb8a2fec
10 changes: 8 additions & 2 deletionsDoc/tools/templates/customsourcelink.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,8 +3,14 @@
<h3>{{ _('This Page') }}</h3>
<ul class="this-page-menu">
<li><a href="{{ pathto('bugs') }}">{% trans %}Report a Bug{% endtrans %}</a></li>
<li><a href="{{ pathto('_sources/' + sourcename, true)|e }}"
rel="nofollow">{{ _('Show Source') }}</a></li>
<li>
{% if version == "3.7" %}
{% set version = 'master' %}
{% endif %}
<a href="https://github.com/python/cpython/blob/{{ version }}/Doc/{{ sourcename|replace('txt', 'rst') }}"
rel="nofollow">{{ _('Show Source') }}
</a>
</li>
</ul>
</div>
{%- endif %}

[8]ページ先頭

©2009-2025 Movatter.jp