Skip to content

Vocs

Source: src/Fly/Website/Vocs.ts

Deploy a Vocs documentation site to Fly. The node target serves static assets first, then Vocs’ Waku RSC handler (/aboutabout/index.html, otherwise SSR).

Vocs documentation site

const docs = yield* Fly.Website.Vocs("Docs", {
rootDir: "./docs",
});

Custom output directory

const docs = yield* Fly.Website.Vocs("Docs", {
rootDir: "./docs",
outDir: "build",
});