chore(docs): remove unused Mintlify tooling

Merged
KA
20d ago
+265-9986

Removes the Mintlify config, theme, and tooling that nothing uses anymore. The .mdx pages, docs/examples/, the snippets, and the images the pages use stay as they are.

  • Deleted docs/style.css, docs/table-of-contents.js, docs/.mintignore, and the footer images only style.css used.
  • Deleted the Open Graph card generator (docs/og/) with its committed cards (docs/images/og/, docs/images/og.png), and the docs:og and docs:dev scripts.
  • docs/docs.json keeps name, description, contextual, navigation.tabs, and redirects. Theme, colors, fonts, logo, favicon, SEO, PostHog, navbar, footer, and the sidebar banner anchor are gone.
  • @e2e-dev/docs drops mint, @vercel/og, react, @types/react, and tsx. That removes about 8k lockfile lines, plus 8 pnpm-workspace.yaml overrides that only pinned mint's transitive dependencies (fallow flags them as unused now).
  • mint validate and mint broken-links were the only checks for page links. scripts/check-docs-anchors.ts now also fails on a link to a missing page, a docs.json navigation page with no file, and a redirect whose destination page or anchor is missing.
  • AGENTS.md, CONTRIBUTING.md, the authoring-docs and verify skills, and script comments no longer mention the removed files.

Verified

Ran it locally: yes

  • pnpm docs:check, pnpm --filter @e2e-dev/docs typecheck, pnpm build (the e2e package still copies the pages and snippets into packages/e2e/docs/), lint, fallow, and pnpm install --frozen-lockfile all pass.
  • I broke a link, an anchor, a navigation entry, and two redirects on purpose. The extended check caught all five:
docs/quickstart.mdx:349: no page for /reference/clii
docs/quickstart.mdx:349: no #nope in docs/cache.mdx
docs/docs.json: navigation page missing-page has no file
docs/docs.json: redirect /a goes to /gone, which has no page
docs/docs.json: redirect /b goes to /cache#nope, but docs/cache.mdx has no #nope