_                 _ 
 _| |___ ___ _____ _| |
| . | . |  _|     | . |
|___|___|___|_|_|_|___|

Generate professional, high-performance documentation sites directly from Markdown. Zero clutter, just content.

docmd bridges the gap between simple static site generators and heavy, framework-driven documentation tools. It transforms standard Markdown into highly optimized static HTML while delivering a seamless Single Page Application (SPA) experience.

Get StartedGitHubExplore Features

Quick Start

Requires Node.js (v18 or higher) installed.

Deploy a beautiful, searchable documentation site in seconds. No framework knowledge or complex setup required.

1. Install docmd as a development dependency

npm install -D @docmd/core     # Recommended: Install locally
npx docmd init                 # Initialize your project configuration
npx docmd dev                  # Start the development server

2. Global Installation (Optional)

npm install -g @docmd/core     # Run docmd from anywhere on your system

3. Instant Zero-Config Execution

# Start a dev server instantly without any local configuration
npx docmd dev -z

Once running, open http://localhost:3000 in your browser. Changes to your files in the docs/ folder will reflect instantly via Hot Module Replacement (HMR).

Why choose docmd?

Writing documentation should be frictionless. You shouldn’t have to manage complex JavaScript frameworks or deep configuration trees just to publish technical text. docmd is built for both humans and AI, serving as the most LLM-friendly static site generator available.

Rich Content Out of the Box

docmd extends standard Markdown with intuitive components designed for professional documentation structures.

Interactive Components
Native Diagrams
Code Precision

Highlight critical information with Callouts and native Buttons.

Performance Tip

Nest containers inside each other to create complex layouts without touching HTML or CSS.

Read about Containers

Create professional architectural diagrams using Mermaid.js syntax directly in your Markdown files.

graph LR MD[Markdown] --> Build[docmd Build] Build --> Static[Static HTML] Build --> LLM[llms-full.txt]

Automatic syntax highlighting with highlight.js, including one-click copy buttons and multi-language support.

// docmd.config.js
import { defineConfig } from '@docmd/core';

export default defineConfig({
  title: 'My Project',
  layout: { spa: true }
});

Ready to build? Install docmd or see Zero-Config Mode in action.