sim/apps/docs at main · simstudioai/sim · GitHub
Skip to content

Latest commit

 

History

History

docs

Folders and files

README.md

Sim documentation

The documentation site uses Next.js and Fumadocs. Read the editorial guide before changing copy or page organization. The copy audit records the complete page inventory, accuracy corrections, and validation.

Develop

From this directory:

bun run dev

Open http://localhost:3001. Build the site with bun run build and run the built server with bun run start.

Content owners

  • Authored pages and navigation: content/docs/** and each section's meta.json.
  • API operation pages: generated openapi*.json, owned by apps/sim/lib/api/contracts/v2/** and scripts/openapi/generator.ts.
  • CLI reference pages: generated from the command tree by scripts/generate-cli-docs.ts.
  • Interactive workflow examples: components/workflow-preview/**.
  • Local media: public/static/**. Product captures use the shared Image component and branded backgrounds.

Use the owner and generation commands listed in the editorial guide. Do not hand-edit generated reference pages. The build also generates llms-full.txt from the current content.

Validate

From the repository root, run the required lint, type, audit, and test gates in the development guidelines. From this directory, bun run type-check compiles MDX and checks the docs workspace, and bun run build validates the production site. Inspect affected page types on desktop and a narrow viewport, and check internal links and existing anchors after heading changes.