Skip to content

docs: fix repo-relative links in README + CONTRIBUTING#39

Merged
lesnik512 merged 7 commits into
mainfrom
docs/readme-link-cleanup
Jun 8, 2026
Merged

docs: fix repo-relative links in README + CONTRIBUTING#39
lesnik512 merged 7 commits into
mainfrom
docs/readme-link-cleanup

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Summary

  • README.md:91 — Middleware guide link now points at https://httpware.modern-python.org/middleware/ (was the repo-relative docs/middleware.md, which breaks on PyPI and routes to raw markdown on GitHub).
  • README.md:142 — License link is now an absolute GitHub URL (was ./LICENSE, also broken on PyPI).
  • CONTRIBUTING.md:6 — Source-pointer link is now an absolute GitHub URL (was a repo-relative .md link).
  • Built the docs site and ran linkchecker 10.6.0 against the rendered HTML; 75 links checked, 0 errors, 0 warnings. No broken external URLs found.

Spec: planning/specs/2026-06-08-readme-link-cleanup-design.md

Not changed

  • Intra-docs/*.md links ([Errors reference](errors.md) style) — these are the standard mkdocs convention; mkdocs rewrites them to clean URLs at build. Changing them would break mkdocs serve.
  • CLAUDE.md planning-file links — internal AI-guidance only, not user-facing.
  • docs/index.md:174 Engineering Notes — already an absolute GitHub URL by design (planning/engineering.md isn't in the published site).

Test plan

  • mkdocs build --strict passes (no docs content changed).
  • curl -sI returns 200 on each of the three new link targets.
  • No remaining (docs/*.md) or (./*) repo-relative links in README.md.
  • No remaining repo-relative .md links in CONTRIBUTING.md.
  • linkchecker audit produced a clean report (0 errors, 0 warnings, 75 links).

🤖 Generated with Claude Code

lesnik512 and others added 5 commits June 8, 2026 22:20
Fix repo-relative .md links in README and CONTRIBUTING (broken on PyPI),
plus a one-shot lychee audit of the built docs site. Three line edits
+ one tool run; single-PR scope.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
9-task plan: branch, three single-line edits across README +
CONTRIBUTING, build docs, run lychee external-link audit (with
linkchecker fallback), triage + fix any findings, sanity build,
push and open PR.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@lesnik512 lesnik512 self-assigned this Jun 8, 2026
lesnik512 and others added 2 commits June 8, 2026 22:56
The rendered docs page already exposes an Edit-on-GitHub link via
mkdocs's edit_uri + content.action.edit theme feature; no need for
CONTRIBUTING.md to also point at the source file.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Matches modern-di's README footer pattern.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@lesnik512 lesnik512 merged commit cb81c67 into main Jun 8, 2026
5 checks passed
@lesnik512 lesnik512 deleted the docs/readme-link-cleanup branch June 8, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant