Title: GH-103484: Fix broken links reported by linkcheck by rffontenelle · Pull Request #103608 · python/cpython · GitHub
Open Graph Title: GH-103484: Fix broken links reported by linkcheck by rffontenelle · Pull Request #103608 · python/cpython
X Title: GH-103484: Fix broken links reported by linkcheck by rffontenelle · Pull Request #103608 · python/cpython
Description: This is another patch required to fix the current state of make linkcheck in Python Docs, see #103484.
This pull request fixes some broken links reported by make linkcheck. The backport to 3.11 has a few differences and I have already a patch ready for it, just waiting for any change in this one.
Find below the reported error and what solution I applied in this PR:
distributing/index.rst:128: [broken] https://packaging.python.org/tutorials/packaging-projects/#creating-the-package-files:
distributing/index.rst:127: [broken] https://packaging.python.org/tutorials/packaging-projects/#packaging-python-projects:
distributing/index.rst:129: [broken] https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives:
distributing/index.rst:130: [broken] https://packaging.python.org/specifications/pypirc/:
The link is fine, but for some reason a newline in the doc resulted in being considered as broken for linkcheck, even though it is not broken in the documentation. I removed that newline and this made linkcheck happy.
library/stdtypes.rst:1607: [broken] http://www.unicode.org/versions/Unicode15.0.0/ch03.pdf#G53253: 'utf-8' codec can't decode byte 0xe2 in position 10: invalid continuation byte
library/stdtypes.rst:1767: [broken] https://www.unicode.org/versions/Unicode15.0.0/ch04.pdf#G91002: 'utf-8' codec can't decode byte 0xe2 in position 10: invalid continuation byte
library/stdtypes.rst:1906: [broken] https://www.unicode.org/versions/Unicode15.0.0/ch03.pdf#G34078: 'utf-8' codec can't decode byte 0xe2 in position 10: invalid continuation byte
That's sphinx-doc/sphinx#11041. I removed the anchor and added the section name next to it's [section] number so the reader has no doubt of what section the text is talking about.
whatsnew/changelog.rst:18176: [broken] https://: Invalid URL 'https://': No host supplied
This is the code sample urllib.request.urlopen('https://...'). at Misc/NEWS.d/3.9.0a1.rst. Added it to ignored list as 'https:\/\/$' ($ to not match any other link).
howto/urllib2.rst:457: [broken] http://www.voidspace.org.uk/python/articles/authentication.shtml: HTTPConnectionPool(host='www.voidspace.org.uk', port=80): Max retries exceeded with url: /python/articles/authentication.shtml (Caused by NewConnectionError('
Open Graph Description: This is another patch required to fix the current state of make linkcheck in Python Docs, see #103484. This pull request fixes some broken links reported by make linkcheck. The backport to 3.11 has...
X Description: This is another patch required to fix the current state of make linkcheck in Python Docs, see #103484. This pull request fixes some broken links reported by make linkcheck. The backport to 3.11 has...
Opengraph URL: https://github.com/python/cpython/pull/103608
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7e043563-d0c0-a1a9-53fa-5d2c05935bb7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ADBC:1CEAED:7017F3:975E1E:696AB09D |
| html-safe-nonce | 73c7fd7f9c163cba019de068532930530bc2005147dbd5269bf27c03d92c3862 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREJDOjFDRUFFRDo3MDE3RjM6OTc1RTFFOjY5NkFCMDlEIiwidmlzaXRvcl9pZCI6Ijc5NjIyMzMxNzY1MjE4Nzk3MDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fb771f087deb46f98328407998c8534b2e15a1c62adc6a9086a1fd7df1720470 |
| hovercard-subject-tag | pull_request:1318443762 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/103608/files |
| twitter:image | https://avatars.githubusercontent.com/u/1571783?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1571783?s=400&v=4 |
| og:image:alt | This is another patch required to fix the current state of make linkcheck in Python Docs, see #103484. This pull request fixes some broken links reported by make linkcheck. The backport to 3.11 has... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 41f276818bd204c4a30a0281fb3c576298d9474c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width