ZeroStarterRC
ZeroStarter

Documentation

Manage documentation content.

Overview

Documentation is managed using Fumadocs and stored in web/next/content/docs/.

Content Structure

  • Location: web/next/content/docs/
  • Format: MDX files with frontmatter
  • Configuration: Defined in web/next/source.config.ts and web/next/content/docs/meta.json

Creating Documentation

  1. Create a new .mdx file in web/next/content/docs/
  2. Add frontmatter with title and description
  3. Write content using MDX syntax
  4. Add entry to web/next/content/docs/meta.json

Configuration

Documentation source is configured in web/next/source.config.ts:

export const docs = defineDocs({
  dir: "content/docs",
})

Pages are listed in web/next/content/docs/meta.json. The sequence matters - it determines the order pages appear in navigation:

{
  "pages": [
    "index",
    "getting-started/architecture",
    "getting-started/project-structure",
    "getting-started/type-safe-api",
    "getting-started/installation",
    "getting-started/scripts",
    "getting-started/roadmap",
    "manage/analytics",
    "manage/blog",
    "manage/code-quality",
    "manage/documentation",
    "manage/feedback",
    "manage/environment",
    "manage/release",
    "manage/llms-txt",
    "manage/robots",
    "manage/sitemap",
    "deployment/docker",
    "deployment/vercel",
    "resources/ai-skills",
    "resources/ide-setup",
    "resources/infisical",
    "contributing"
  ]
}