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

docs: update kennethreitz.org outdated links#1171

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

Open
brivadeneira wants to merge1 commit intorealpython:master
base:master
Choose a base branch
Loading
frombrivadeneira:fix-outdated-links

Conversation

brivadeneira
Copy link

@brivadeneirabrivadeneira commentedAug 19, 2025
edited
Loading

docs: update kennethreitz.org outdated links

Verify external Kenneth Reitz URLs in documentation

Summary

This PR fixes outdated (404 not found) for all references tohttps://kennethreitz.org/ in the built Sphinx HTML documentation. The goal is to ensure that all external links are reachable and return a successful HTTP response.

FileOriginal URLFixed URL
CODE_OF_CONDUCT.mdhttps://www.kennethreitz.org/essays/be-cordial-or-be-on-your-wayhttps://kennethreitz.org/essays/2013/be_cordial_or_be_on_your_way
docs/conf.pyhttps://www.kennethreitz.org/projectshttps://kennethreitz.org/software/
docs/dev/virtualenvs.rsthttps://pipenv.kennethreitz.org/https://kennethreitz.org/software/pipenv
docs/writing/structure.rsthttps://kennethreitz.org/essays/2013/01/27/repository-structure-and-pythonhttps://kennethreitz.org/essays/2013/repository_structure_and_python
  • Issue
    • www.kennethreitz.org may redirect or404 in some contexts.
    • Some paths changed on Kenneth Reitz’s site over the years (pipenv, repository structure essay).
    • Minor differences in URL encoding (- vs_) can break direct link checks.

Verification

  • Built the documentation in a clean Docker environment using Python 3.7:
docker run -it -p 8000:8000 -v$PWD:/app -w /app python:3.7 bashpip install --upgrade pippip install sphinxcd docsmake htmlsphinx-build -b html -d _build/doctrees. _build/html
  • Grepped all Kenneth Reitz URLs from the built HTML:
grep -HoR"https://kennethreitz.org/[^\"'<> ]*" /app/docs/_build/html| cut -d':' -f2-| sort -u
grep -HoR"https://kennethreitz.org/[^\"'<> ]*" /app/docs/_build/html \| cut -d':' -f2- \| sort -u \| xargs -n 1 curl -IHTTP/2 200 server: Fly/240521282 (2025-08-19)date: Tue, 19 Aug 2025 20:49:15 GMTcontent-type: text/html; charset=utf-8content-length: 137640via: 2 fly.io, 2 fly.iofly-request-id: 01K321FQDBDM6CX295E6WEF305-cdgHTTP/2 200 server: Fly/240521282 (2025-08-19)date: Tue, 19 Aug 2025 20:49:15 GMTcontent-type: text/html; charset=utf-8content-length: 134215via: 2 fly.io, 2 fly.iofly-request-id: 01K321FQQ2X3HH82S4GGWKTJ07-cdgHTTP/2 200 server: Fly/240521282 (2025-08-19)date: Tue, 19 Aug 2025 20:49:15 GMTcontent-type: text/html; charset=utf-8content-length: 129003via: 2 fly.io, 2 fly.iofly-request-id: 01K321FR06WPX9X6XKQEKQTNT6-cdg
  • Results

✅ All referenced Kenneth Reitz URLs are reachable and return HTTP 200.

  • Documentation links referring to kennethreitz.org are safe to keep; no broken links detected.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@brivadeneira

[8]ページ先頭

©2009-2025 Movatter.jp