Skip to content

fix(docs): honor deployment base in standards links - #728

Merged
jeremi merged 1 commit into
mainfrom
agent/docs-base-aware-standards
Aug 12, 2026
Merged

fix(docs): honor deployment base in standards links#728
jeremi merged 1 commit into
mainfrom
agent/docs-base-aware-standards

Conversation

@jeremi

@jeremi jeremi commented Aug 12, 2026

Copy link
Copy Markdown
Member

Summary

  • prefix root-relative standards evidence links with the active Astro base path
  • leave absolute and protocol-relative external links unchanged
  • add focused helper coverage

Why

The protected-main Pages build renders current documentation under /dev/. Standards evidence links were emitted at the site root, so the assembled link check rejected five links even though the target pages existed under /dev/.

Verification

  • npm test (326 passed)
  • DOCS_RELEASED_TAG=v0.18.0 DOCS_DOCSET=latest DOCS_BASE=/dev/ npx astro check
  • DOCS_RELEASED_TAG=v0.18.0 DOCS_DOCSET=latest DOCS_BASE=/dev/ npx astro build --outDir dist/dev
  • DOCS_DIST_DIR=$PWD/dist/dev DOCS_PUBLIC_BASE=/dev/ npm run check:links:current (25,858 links and assets checked)

Signed-off-by: Jeremi Joslin jeremi@joslin.fr

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
@jeremi
jeremi merged commit 99b2902 into main Aug 12, 2026
30 checks passed
@jeremi
jeremi deleted the agent/docs-base-aware-standards branch August 12, 2026 10:49
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