Quick Checks
Run checks from the repository root unless the command explicitly changes into
docs.Common Issues
Broken relative links
Broken relative links
Symptom: link checker reports missing files.Fix: Ensure links target valid Mintlify routes (
/path), keep routes aligned with docs/docs.json navigation, and remove stale paths after page rename or move.Missing page in navigation
Missing page in navigation
Markdown lint failures
Markdown lint failures
Symptom:
pnpm check:docs fails on format or heading rules.Fix: Follow linter output line-by-line, keep heading hierarchy and list formatting consistent, and prefer native Mintlify components over custom HTML blocks.Mintlify build validation failure
Mintlify build validation failure
Symptom:
mintlify validate fails despite passing markdown lint.Fix: Check unsupported component syntax, verify tab/group/page mapping in docs/docs.json, and confirm all route links point to existing docs pages.PR Checklist
Validate Mintlify routing and structure
Run
cd docs && pnpm dlx mintlify broken-links and cd docs && pnpm dlx mintlify validate.Spot check key navigation paths
Confirm Docs Portal, FAQ, and Business as Agent are reachable.