Skip to content

feat(): add relative link validation and update cross-topic references#355

Open
dobromirts wants to merge 12 commits into
vnextfrom
dtsvetkov/add-relative-links-validation
Open

feat(): add relative link validation and update cross-topic references#355
dobromirts wants to merge 12 commits into
vnextfrom
dtsvetkov/add-relative-links-validation

Conversation

@dobromirts

Copy link
Copy Markdown
Contributor

Closes #330, #331

  1. Added check-relative-links:ci npm script and updated the lint CI workflow to validate all relative cross-topic links at build time -generates angular and xplat content first, then checks both trees so no links to generated pages are missed
  2. Extended the checker to accept bare page.mdx links alongside ./page.mdx, excluded _shared/ template directories from direct scanning (links validated via generated output), and added docs/xplat/generated/ to the xplat scan path
  3. Updated README, CONTRIBUTING, and PR template to document the link convention and pipeline

@dobromirts dobromirts marked this pull request as ready for review June 26, 2026 07:23
@dobromirts dobromirts requested a review from viktorkombov June 26, 2026 07:24
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.

Add cross-topic validation for relative paths at build time

2 participants