CI: validate relative MDX imports #132
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pokebedrock/wiki#132
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The wiki repo validates markdown style, frontmatter, images, links, generated artifacts, and search builds, but it still does not validate relative MDX imports.
That leaves a blind spot where broken imports can live on
mainwithout any CI signal until someone manually notices the page or copy example is wrong.Evidence
Current
mainstill contains example imports that point at a nonexistent partial:docs/en/handbook/style-guide.mdxdocs/es/handbook/style-guide.mdxBoth currently show:
…but the only partial under each locale today is
ReleaseChecklist.mdx, so that relative target does not exist.The existing CI stack does not catch this because:
npm run lintchecks markdown, frontmatter, and imagesnpm run lint:linkschecks outbound linksnpm run check:generatedchecks emitted search/manifestsNone of those steps resolve MDX
import ... from "./relative-path.mdx"targets.Impact
mainAcceptance criteria
import ... fromstatements