logo

Getting Started

Install

yarn add --dev documints

documints is a dev dependency - it's a build tool, not a runtime library. The static site it produces has no dependency on documints at runtime.

Bootstrap a project

yarn documints init

This scaffolds:

your-project/
└── .documints/
    ├── config.ts
    └── content/
        └── welcome.doc.md

welcome.doc.md is created with home: true in its frontmatter, so it's immediately servable as your site's root page.

Develop

yarn documints dev

Starts a dev server with hot module reloading. Edit any .doc.md file and see the change immediately - no restart needed.

Build

yarn documints build

Produces .documints/static/: real, prerendered index.html files for every route, plus the JS/CSS assets they reference. Deploy that directory to any static host - there's no server process to run. It's gitignored by default (documints init sets that up for you), same as the Vite cache.

Next steps

© 2026 documints