Vocs
Source:
src/Railway/Website/Vocs.ts
Deploy a Vocs documentation project to Railway: static
assets first, then Vocs’ Waku RSC handler (/about not /about/) from
one Railway.Service.
Requires @alchemy.run/frontend-frameworks, vocs, and Vocs’ Waku peer
dependencies in the project.
During alchemy dev the site is Vocs’ own dev server and no cloud
resources are created. Alchemy.remote() opts back into the live
Service path.
Deploying a Vocs Site
Section titled “Deploying a Vocs Site”const docs = yield* Railway.Website.Vocs("Docs", { rootDir: "./docs",});Custom Build Output
Section titled “Custom Build Output”// vocs.config.ts: defineConfig({ outDir: "build" })const docs = yield* Railway.Website.Vocs("Docs", { rootDir: "./docs", outDir: "build",});