Skip to content

feat: validate wiki internal links after generation#371

Open
Jithin (JM) Mohandas (DecentralizedJM) wants to merge 1 commit into
langchain-ai:mainfrom
DecentralizedJM:feat/wiki-internal-link-validator
Open

feat: validate wiki internal links after generation#371
Jithin (JM) Mohandas (DecentralizedJM) wants to merge 1 commit into
langchain-ai:mainfrom
DecentralizedJM:feat/wiki-internal-link-validator

Conversation

@DecentralizedJM

Copy link
Copy Markdown

Summary

  • Add a deterministic post-generation validator that checks relative markdown links and GitHub-style heading anchors across the generated wiki.
  • Fail init/update runs when broken internal links are detected, before .last-update.json is written.
  • Include regression tests plus a dogfood check against this repo's checked-in openwiki/ tree.

Fixes #358

Test plan

  • pnpm test (341 tests pass)
  • pnpm run lint:check
  • Dogfood test validates the repository's own openwiki/ links

Add a deterministic post-generation check that resolves relative markdown
links and GitHub-style heading anchors before persisting update metadata,
so init/update runs fail fast instead of shipping broken cross-references.

Fixes langchain-ai#358
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.

Post-generation consistency pass: dead internal links/anchors and cross-page drift in regenerated wikis

1 participant