docs(gates): widen relative-link checker to all docs, repair the rot it finds

TestDocsRelativeLinks walked only docs/developer; widening it to all of
docs/ immediately surfaced the same class of rot the gate was built
for, outside its old reach:

- docs/index.md was the old monolith's landing page: linked the deleted
  api-reference.md, 10 directory-style area links, and escaped the docs
  tree to README/AGENTS/.env/compose. Rewritten as a portal whose every
  link resolves, with one representative endpoint doc per API area and
  pointers to the new writing-ui-docs.md standard.
- directory-style links in user stubs (devices/, ../operations/)
- case-mismatched links (Development.md) in contributing.md
- monolith-era pointer (API_REFERENCE.md, TROUBLESHOOTING.md) and
  escaped AGENTS.md links in contributing/development.md
- docs/development/calibre-opf-implementation.md double-up escapes, a
  link to the removed repo-root plan file (absorbed here), and a
  source-code hyperlink the docs site can't serve (now inline code)
- operations/operations.md linked three never-written guide pages as
  aspirational links - they stay plain text until pages exist

HANDS-OFF (project owner, 2026-11-02): docs/user/filters/** and
docs/user/searching-and-filtering.md are exempt as link sources so no
future checker failure can force edits to the filter documentation.
Files linking INTO them remain checked.
This commit is contained in:
John O'Keefe committed 2026-11-02 08:21:47 -05:00
1 parent bf4735f3ce
commit 913174cdf8
10 files changed
+85 -111

No files matched your search

+1 -1
View File
@@ -13,4 +13,4 @@ This guide will cover:
---
_In the meantime, check out our [Operations Portal](../operations/)_
_In the meantime, check out our [Operations Portal](../operations/operations.md)_
+1 -1
View File
@@ -34,7 +34,7 @@ A: Nothing — KOReader will keep working. Native sync simply adds another optio
- [KOReader Setup Guide](koreader-setup.md) — works on Kobo today
- [Bookhoard Universal Sync Guide](../sync-guide.md)
- [Bookhoard API Reference](../../developer/api-reference.md)
- Kobo sync protocol (for developers): [Kobo API docs](../../developer/api/kobo/sync_from_server.md)
---
+1 -1
View File
@@ -13,4 +13,4 @@ This guide will cover:
---
_In the meantime, check out our [Device Setup Guides](devices/)_
_In the meantime, check out our [Device Setup Guides](devices/android-app.md) and [KOReader setup](devices/koreader-setup.md)_
+1 -1
View File
@@ -12,4 +12,4 @@ This guide will cover:
---
_In the meantime, check out our [Device Setup Guides](devices/)_
_In the meantime, check out our [Device Setup Guides](devices/android-app.md) and [KOReader setup](devices/koreader-setup.md)_