Your first site
From an empty folder to a built documentation site.
0:00 / 0:28
Install the CLI
Run the install command in your project folder.
terminal npm install --save-dev @specistry/cliCreate the configuration
Add
specistry.config.tsat the project root. Two fields are required:schemaVersionandname.specistry.config.ts import { defineConfig } from "@specistry/config"; export default defineConfig({ schemaVersion: 1, name: "Acme docs", });Write your first page
docs/index.mdbecomes the site homepage. Every page starts with frontmatter and atitle.docs/index.md --- title: Acme developer docs description: Everything you need to integrate. --- Welcome. Start with the quickstart.Validate and build
Validation writes nothing. The build writes a complete artifact under
.specistry/artifacts, or nothing at all.terminal npx specistry validate npx specistry build
TipNext
Add more pages and a sidebar in the next tutorial, or bring an OpenAPI contract.