supermemory icon indicating copy to clipboard operation
supermemory copied to clipboard

Add broken-link checking for docs to CI

Open EthanThatOneKid opened this issue 4 months ago • 3 comments

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.

EthanThatOneKid avatar Jul 26 '26 21:07 EthanThatOneKid

ENG-1124

linear-code[bot] avatar Jul 26 '26 21:07 linear-code[bot]

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.

ashish200729 avatar Aug 01 '26 04:08 ashish200729

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.

HaoChiBao avatar Aug 03 '26 19:08 HaoChiBao