Add broken-link checking for docs to CI
Context
PR #1362 fixed broken links in custom MDX components, including links in apps/docs/index.mdx and apps/docs/overview/what-is-supermemory.mdx. The immediate link issue was addressed, but the follow-up suggestion to add a preventive CI check remains open.
Proposal
Add a supported Mintlify broken-link check to CI so documentation link regressions are caught before merge. The check should cover apps/docs and fail CI when invalid internal links are detected.
Please confirm the current supported command for the repository's Mintlify version before implementation; mintlify broken-links was the command suggested in #1362.
Reference
- #1362
Acceptance criteria
- The check runs automatically for documentation changes (or on every pull request, if simpler).
- It validates links under
apps/docs. - CI fails when a broken internal link is introduced.
- The command and any required setup are documented in the workflow or repository docs.
Hi! I’d like to work on this issue. Is anyone already working on it?
My plan is to confirm the correct Mintlify broken-link command, add it to the GitHub Actions workflow, and make sure CI fails when an invalid internal docs link is introduced.
Please let me know if this approach works, and I’ll start on a PR.
Taking this on — I'll add mintlify broken-links behind an apps/docs check-links script and a path-filtered CI workflow.
@ashish200729 noted interest earlier; there hasn't been a PR yet, so proceeding to avoid the issue stalling. Happy to coordinate if you've already started locally.