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:

  1. Directory detection — looks for docs/, src/docs/, documentation/, or any .md files
  2. Navigation generation — builds a nested sidebar from your folder structure
  3. Metadata extraction — reads package.json for the site title if available
  4. Theme activation — applies the default theme with system-aware light/dark mode
  5. 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.