Skip to content
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 and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update links in the documentation #2765

Merged
merged 1 commit into from
Dec 13, 2017
Merged

Conversation

jamesfe
Copy link
Contributor

@jamesfe jamesfe commented Jul 19, 2017

I noticed some of the links in the documentation return 404 errors (via some automated documentation checking I have been doing) and I wanted to submit this as a PR for you. It seems fairly trivial so I haven't created an issue for it. Let me know if you want me to do that.

Also, some of the domains for the links are no longer active, so I found alternatives that seemed plausible and reasonable. Please let me know if these are not acceptable.

Cheers,
Jimmy

@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

Thanks again to your contribution and we look forward to looking at it!

@jamesfe
Copy link
Contributor Author

jamesfe commented Jul 19, 2017

Have just signed and submitted the CLA.

@brettcannon
Copy link
Member

@jamesfe You have not associated your bugs.python.org account with your GitHub account. Please see the CLA comment from earlier about how to rectify the situation.

@jamesfe
Copy link
Contributor Author

jamesfe commented Jul 21, 2017

@brettcannon how embarrassing that even as I submit a change to the docs, I myself failed to read that comment completely. I have added the relevant info to my BPO account. Thanks!

@brettcannon
Copy link
Member

@jamesfe 😄 it happens. It's all good now.

Do note, though, that your PR didn't pass our CI check of the docs, so that will need to be fixed before anyone probably looks at your suggested changes.

@jamesfe
Copy link
Contributor Author

jamesfe commented Jul 22, 2017

@brettcannon editing previous comment: Everything is fixed. Those slightly frustrating documentation checks are actually pretty smart and caught some links I'd missed in my original pass.

@brettcannon brettcannon added the docs Documentation in the Doc dir label Jul 22, 2017
Copy link
Contributor

@marco-buttu marco-buttu left a comment

Choose a reason for hiding this comment

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

Thanks, your changes are OK :) However, I found other broken links that you can fix in this pull request. For instance, in Doc/library/functools.rst there is a link to https://en.wikipedia.org/wiki/Cache_algorithms#Examples that gives the error message Anchor 'Examples' not found. You can fix changing the URL to https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_Recently_Used_.28LRU.29. To find all broken URLs please execute make linkcheck from the Doc directory. Thank you very much for you time.

@brettcannon brettcannon changed the title trivial: link updates in documentation Update links in the documentation Jul 24, 2017
@jamesfe
Copy link
Contributor Author

jamesfe commented Jul 24, 2017

@marco-buttu Great suggestion - I'll probably do this tomorrow morning (paris time). Thanks for the info regarding make linkcheck!

@jamesfe jamesfe force-pushed the link_fixups branch 2 times, most recently from fee26cb to cd3a7b8 Compare July 25, 2017 07:17
@jamesfe
Copy link
Contributor Author

jamesfe commented Jul 25, 2017

Here are some more fixed up link sections - one area I am a little nervous about modifying is the change release documents.

These seem quasi-historical in nature and refer to things like old Python module listing pages which are no longer in existence as well as Zope Corporation (see license.rst) which may now be Zope Community - are these files off limits?

If not my best course of action is probably to just delete the link references and leave the text in place since some things haven't migrated, they are simply gone

@marco-buttu
Copy link
Contributor

marco-buttu commented Jul 25, 2017

@jamesfe both Doc/license.rst and LICENSE should be changed according to @gvanrossum wording in bpo-25910. Just wait a bit because I want to be sure #1933 aims to fix only redirections and not also broken links. I will review your changes as soon as I get an answer. Thanks :-)

@jamesfe
Copy link
Contributor Author

jamesfe commented Jul 25, 2017

Great no problem - I am not waiting by the phone for this PR, it is unlikely it is blocking anything ;-)

@marco-buttu
Copy link
Contributor

@jamesfe the @CuriousLearner comment in #2765 makes me think that this PR is a duplicate.

@jamesfe
Copy link
Contributor Author

jamesfe commented Jul 31, 2017

@marco-buttu yes - there are some links I fix here that are not fixed in #1933. @CuriousLearner can cherry-pick this commit onto their branch for an easy way to integrate my changes, but I am not particular one way or the other.

@jamesfe jamesfe requested a review from a team as a code owner October 19, 2017 11:05
@CuriousLearner
Copy link
Member

Hey @jamesfe I would be happy to cherry-pick your commits into the patch. But I haven't got a review till now.

@jamesfe
Copy link
Contributor Author

jamesfe commented Dec 13, 2017

Is anyone available to add the skip news label to this?

@miss-islington
Copy link
Contributor

Thanks @jamesfe for the PR, and @asvetlov for merging it 🌮🎉.. I'm working now to backport this PR to: 2.7, 3.6.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 13, 2017
@bedevere-bot
Copy link

GH-4835 is a backport of this pull request to the 3.6 branch.

@asvetlov
Copy link
Contributor

Thanks!

@bedevere-bot
Copy link

GH-4836 is a backport of this pull request to the 2.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 13, 2017
asvetlov pushed a commit that referenced this pull request Dec 13, 2017
asvetlov pushed a commit that referenced this pull request Dec 13, 2017
@jamesfe
Copy link
Contributor Author

jamesfe commented Dec 14, 2017

Thanks so much for merging this!

@asvetlov
Copy link
Contributor

You are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants