Skip to content

Quickstart

From nothing to a deployable documentation site in five minutes.

sh
reed init

This writes a starter docs.json, a content/ directory, and a docs.schema.json copy your editor uses for completion.

sh
reed prefetch

This is the one step that needs network access. It populates a local, pinned dependency store on this machine. Run it once — after that, check, dev and build all succeed with no network at all.

reed prefetch needs a Corepack-resolvable pnpm. Corepack ships with Node 16.9 and later, but Node 25 and newer no longer bundle it by default; on such a machine, enable it first with corepack enable pnpm.

sh
reed dev

A live preview server that rebuilds as you edit.

sh
reed build --out dist

dist/ is the deployable static site: HTML, CSS, JavaScript, and an inlined search index. Nothing in it calls back to Reed.

Upload dist/ to any static host — Cloudflare Pages, Netlify, Vercel, S3 behind a CDN, or an nginx root. There is no Reed-specific deployment step, because there is no Reed runtime to deploy.

One caveat if you set base in docs.json: the mount path must physically exist in the served file tree. A site with base: "/docs" emits links pointing at /docs/..., so the built files have to be served from a docs/ directory, not from the root of your asset directory.