Deploy the static site
Docfuse is host-independent. The build command is pnpm docs:build and the default publish directory is .docfuse/dist/.
Generate host guidance
pnpm exec docfuse deployThis writes platform examples and instructions under .docfuse/deploy/. It does not create an account, upload files, or modify a remote environment.
Platform settings
| GitHub Pages | pnpm docs:build | .docfuse/dist |
| Cloudflare Pages | pnpm docs:build | .docfuse/dist |
| Vercel | pnpm docs:build | .docfuse/dist |
| Netlify | pnpm docs:build | .docfuse/dist |
| Nginx / object storage | Upload after CI build | .docfuse/dist |
The host must serve directory index.html files and must not use an SPA fallback. For a subpath deployment, set a matching basePath, such as /project/, in both Docfuse and the CDN or reverse proxy.
Translate generated redirects.json into platform 301/308 rules. See Security boundaries for private documentation and CSP.