Quick start
First, install Docfuse in your project.
- Initialize
Run this command from the project root:
pnpm exec docfuse init --locale enIt creates
docfuse.config.ts,docs/index.md, and a type declaration without overwriting existing content. - Add scripts
{ "scripts": { "docs:dev": "docfuse dev", "docs:check": "docfuse check", "docs:build": "docfuse build", "docs:preview": "docfuse preview" }} - Start the development server
pnpm docs:devOpen the printed URL and edit
docs/index.md.
Build the site
pnpm docs:checkpnpm docs:buildpnpm docs:previewStatic files are written to .docfuse/dist/. Continue with content structure, theming, or deployment.