Skip to content

Add full-vs-lean link-check matrix for docsy.dev#2661

Merged
chalin merged 2 commits into
google:mainfrom
chalin:chalin-m24-lean-docsy.dev-2026-0617
Jun 17, 2026
Merged

Add full-vs-lean link-check matrix for docsy.dev#2661
chalin merged 2 commits into
google:mainfrom
chalin:chalin-m24-lean-docsy.dev-2026-0617

Conversation

@chalin

@chalin chalin commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator
  • Contributes to Add experimental lean-render build mode to drop repeated chrome for link checking #2659.
  • Adds a full-vs-lean link-check matrix to dogfood the experimental lean render mode on docsy.dev's own site.
    • Adds docsy.dev/scripts/link-check-matrix.mjs: builds the site full and lean (td.lean_render=remove), times build + htmltest per cell, and diffs the checked-link sets to confirm lean drops no internal links. Non-destructive — seeds the htmltest cache read-only and builds into temp dirs, leaving public/ and the committed refcache untouched.
    • Adds npm scripts check:links:matrix (the comparison) and check:links:lean / precheck:links:lean (single-cell lean path).
  • Confirms lean loses 0 internal links on docsy.dev; the only diff is 160 external version_menu_pagelinks targets surfaced once instead of per page (the documented version-menu boundary). Routine check:links:lean adoption is left for a follow-up.

chalin added 2 commits June 17, 2026 12:23
- Contributes to google#2659.
- Adds `scripts/link-check-matrix.mjs`: builds the site full and lean
  (`td.lean_render=remove`), times the build + htmltest per cell, and diffs the
  checked-link sets to confirm lean drops no internal links. Non-destructive:
  seeds the htmltest cache read-only and builds into temp dirs, leaving `public/`
  and the committed refcache untouched.
- Adds npm scripts `check:links:matrix` (the comparison) and `check:links:lean`
  (+ `precheck:links:lean`) for the single-cell lean path.
@chalin chalin merged commit 3bcd6e7 into google:main Jun 17, 2026
16 checks passed
@chalin chalin deleted the chalin-m24-lean-docsy.dev-2026-0617 branch June 17, 2026 16:40
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