[backport to 2.7] Change documentation's Show Source link to GitHub by Mariatta · Pull Request #44 · python/cpython (original) (raw)

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 our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation6 Commits2 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

Mariatta

Change documentation's Show Source link to GitHub (2.7 branch)
Render issue role as bpo-NNNN

@Mariatta

Change the url to 2.7

(cherry picked from commit 79ab8be)

methane

@@ -58,7 +58,7 @@ def new_depart_literal_block(self, node):
def issue_role(typ, rawtext, text, lineno, inliner, options={}, content=[]):
issue = utils.unescape(text)
text = 'issue ' + issue
text = 'bpo- ' + issue

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there space between 'bpo-' and issue number?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, there shouldn't be a space 😅
Thanks for the review :) Will fix soon.

@Mariatta

@methane

Hm, the title of pull request is bit misleading. doc of Python 2.7 doesn't include Misc/NEWS.
But this pull request backports these changes.

methane

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did make html in local, and it works as expected.
LGTM.

@Mariatta Mariatta changed the title[backport to 2.7] Support "bpo-" in Misc/NEWS [backport to 2.7] Change documentation's Show Source link to GitHub

Feb 12, 2017

@Mariatta

Thanks @methane :) I updated the pull request description.
What do you think?

@methane

gnprice added a commit to gnprice/cpython that referenced this pull request

Aug 15, 2019

@gnprice

benjaminp pushed a commit that referenced this pull request

Sep 9, 2019

@gnprice @benjaminp

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Sep 9, 2019

@gnprice @miss-islington

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Sep 9, 2019

@gnprice @miss-islington

benjaminp pushed a commit that referenced this pull request

Sep 9, 2019

@gnprice @benjaminp

GH-15301)

The link we have points to the version from Unicode 6.0.0, dated 2010. There have been numerous updates to it since then: https://www.unicode.org/reports/tr44/GH-Modifications

Change the link to one that points to the current version. Also, use HTTPS.. (cherry picked from commit 64c6ac7)

Co-authored-by: Greg Price gnprice@gmail.com

benjaminp added a commit that referenced this pull request

Sep 9, 2019

@benjaminp @gnprice

GH-15808)

The link we have points to the version from Unicode 6.0.0, dated 2010. There have been numerous updates to it since then: https://www.unicode.org/reports/tr44/GH-Modifications

Change the link to one that points to the current version. Also, use HTTPS.. (cherry picked from commit 64c6ac7)

Co-authored-by: Greg Price gnprice@gmail.com

miss-islington added a commit that referenced this pull request

Sep 9, 2019

@miss-islington @gnprice

…15301)

The link we have points to the version from Unicode 6.0.0, dated 2010. There have been numerous updates to it since then: https://www.unicode.org/reports/tr44/GH-Modifications

Change the link to one that points to the current version. Also, use HTTPS. (cherry picked from commit 64c6ac7)

Co-authored-by: Greg Price gnprice@gmail.com

miss-islington added a commit that referenced this pull request

Sep 9, 2019

@miss-islington @gnprice

…15301)

The link we have points to the version from Unicode 6.0.0, dated 2010. There have been numerous updates to it since then: https://www.unicode.org/reports/tr44/GH-Modifications

Change the link to one that points to the current version. Also, use HTTPS. (cherry picked from commit 64c6ac7)

Co-authored-by: Greg Price gnprice@gmail.com

websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request

Jul 20, 2020

@gnprice @websurfer5

iritkatriel referenced this pull request in iritkatriel/cpython

Jul 22, 2021

@iritkatriel

jaraco pushed a commit to jaraco/cpython that referenced this pull request

Feb 17, 2023

@warsaw

Fix contents() so that it no longer returns unrelated items

Closes python#44

See merge request python-devs/importlib_resources!48

oraluben pushed a commit to oraluben/cpython that referenced this pull request

Jun 26, 2023

@Fidget-Spinner

This was referenced

Feb 11, 2025