Skip to content

Quick start

First, install Docfuse in your project.

  1. Initialize

    Run this command from the project root:

    bash
    pnpm exec docfuse init --locale en

    It creates docfuse.config.ts, docs/index.md, and a type declaration without overwriting existing content.

  2. Add scripts
    package.json
    {  "scripts": {    "docs:dev": "docfuse dev",    "docs:check": "docfuse check",    "docs:build": "docfuse build",    "docs:preview": "docfuse preview"  }}
  3. Start the development server
    bash
    pnpm docs:dev

    Open the printed URL and edit docs/index.md.

Build the site

bash
pnpm docs:checkpnpm docs:buildpnpm docs:preview

Static files are written to .docfuse/dist/. Continue with content structure, theming, or deployment.