Skip to content

Port apps/docs content to FrontLit docs - #222

Merged
clbotdev merged 3 commits into
mainfrom
t3/migrate-docs-frontlit
Nov 25, 2026
Merged

clbotdev merged 3 commits into
mainfrom
t3/migrate-docs-frontlit

Conversation

@clbotdev

@clbotdev clbotdev commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Ports the 54 pages in apps/docs/content/docs to frontlit/docs, with navigation in _sections.json. The original apps/docs site is untouched and keeps deploying.

  • Sections (in the old sidebar order): Getting Started, Migrate, Email Marketing, Email Blocks, Workspace, Activity, Self-Hosting, Developers. nav_order follows the old meta.json page order.
  • URLs are kept: /email-marketing/contacts becomes /docs/email-marketing/contacts. Internal links are rewritten to /docs/....
  • Callouts are kept (warn → warning). Code fences, tables and other Markdown are unchanged.
  • The bundled checker passes (54 files, 54 routes). FrontLit's own docs validation check on this PR is the authority.

Changes and things to review

  • Home page: index.mdx is now getting-started/welcome.md (a root index.md would be /docs/index and would not replace the docs home).
  • Live demos removed: the 9 EmailBlockDemo widgets on the email-blocks pages can't run on FrontLit. Each is replaced by a link to the matching page on https://docs.sendlit.app, so the old site has to stay up for those links.
  • Images need uploading: FrontLit can't host repo images, so the 3 screenshots (sign-in.png twice, organizations.png) point at their docs.sendlit.app URLs. These show as EXTERNAL_MEDIA and will break when the old site is retired. Upload them to the media library and swap the URLs before then.
  • Syntax fixes: task-list checkboxes in migrate/overview are now plain bullets, and one table cell in developers/events is reworded (underscore wording) to pass validation.
  • API reference links: 5 pages link to the API reference. Until FrontLit publishes its own, they point at https://docs.sendlit.app/api-reference/ (a /docs/api-reference link fails validation as BROKEN_LINK before the reference exists). Switch them to /docs/api-reference once it is configured.
  • Reworded link: "[import them]" in getting-started/first-broadcast is now "bring them in [from a CSV]", because FrontLit's parser reads link text that starts with import as an MDX module statement.
  • Not ported: apps/docs/integrations/headless-provisioning.md is a separate repo-level guide, not part of the site content.

API reference (not configured here)

The generated pages were not ported. To publish the API reference, set these in FrontLit (Settings → Integrations → GitHub), after this is merged:

  • Spec path: apps/api/openapi.json (OpenAPI 3.0.2, 193 operations, no external refs)
  • URL path: api-reference

This publishes the whole spec publicly, including /openapi.json. The spec has no operationIds, so operation URLs come from summaries and will differ from the old fumadocs-openapi URLs.

Not done yet

  • Redirects: docs.sendlit.app → /docs (path prefix /docs, plus renamed paths for the old home and API operations) is not set up. Do it after checking the port on FrontLit.
  • Retiring the old site: removing apps/docs, its Pages deploy workflow and the README links is for separate PRs.

Merging publishes the pages.

Port the 54 pages in apps/docs/content/docs to frontlit/docs with the
same URLs under /docs, plus _sections.json for navigation. The original
apps/docs site is left in place.
@clbotdev
clbotdev merged commit b0d9559 into main Nov 25, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants