Source of truth: this starter is exported from the
contentrain-startersmonorepo. Internal starter id:vitepress-docs.
Documentation starter for teams that want Markdown-native docs with Contentrain-managed schema, navigation, and long-form content.
//getting-started/guides/content-architecture/guides/product-surfaces/reference/contentrain-models/reference/deployment-targets/packages/design-tokens
pnpm install
pnpm devpnpm check
pnpm build
pnpm preview
pnpm deploy:netlify- Long-form docs pages are modeled as Contentrain
documentmodels and written into the realdocs/tree throughcontent_pathoverrides - VitePress navigation and sidebar structure are generated from Contentrain content, not hardcoded arrays
- Starter-local
.contentrain/context.json,vocabulary.json, andmeta/files are committed so the repo opens with a complete Contentrain project shape - The docs surface is positioned as part of a wider product-surface system, not as an isolated blog replacement
- Official references are built in:
If you change .contentrain/models or .contentrain/content, regenerate the local SDK first:
pnpm contentrain:generateTo validate the on-disk Contentrain project itself:
pnpm exec contentrain validate --json- Netlify build command:
pnpm deploy:netlify - Netlify publish directory:
docs/.vitepress/dist netlify.tomlis committed in the starter root
Use pnpm dlx netlify-cli init to connect the repository for continuous deployment, or pnpm dlx netlify-cli link if the site already exists.

