Quick Start
Run docmd inside any folder containing Markdown files. No config file, no setup, no framework knowledge required.
Start a dev server
npx @docmd/core dev
Opens http://localhost:3000. Your documentation is live.
What happens automatically
docmd scans your project and sets everything up:
- Directory detection — looks for
docs/,src/docs/,documentation/, or any.mdfiles - Navigation generation — builds a nested sidebar from your folder structure
- Metadata extraction — reads
package.jsonfor the site title if available - Theme activation — applies the default theme with system-aware light/dark mode
- Search indexing — enables built-in full-text search
No docmd.config.js is needed. Add one later when you need versioning, plugins, or custom navigation.
Build for production
npx @docmd/core build
Outputs a static site to ./site/, ready to deploy anywhere.