-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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
Conversation
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! |
Have just signed and submitted the CLA. |
@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. |
@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! |
@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. |
@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. |
There was a problem hiding this 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.
@marco-buttu Great suggestion - I'll probably do this tomorrow morning (paris time). Thanks for the info regarding |
fee26cb
to
cd3a7b8
Compare
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 |
@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 :-) |
Great no problem - I am not waiting by the phone for this PR, it is unlikely it is blocking anything ;-) |
@jamesfe the @CuriousLearner comment in #2765 makes me think that this PR is a duplicate. |
@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. |
Hey @jamesfe I would be happy to cherry-pick your commits into the patch. But I haven't got a review till now. |
Is anyone available to add the |
(cherry picked from commit 4f29f3c)
GH-4835 is a backport of this pull request to the 3.6 branch. |
Thanks! |
GH-4836 is a backport of this pull request to the 2.7 branch. |
(cherry picked from commit 4f29f3c)
Thanks so much for merging this! |
You are welcome! |
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