The marketing site and documentation for Files SDK, built with Blume (a markdown-first docs framework on Astro). Output is a fully static site.
bun install # from the repo root
bun run dev # from apps/web — builds the shadcn registry, then runs `blume dev`Open http://localhost:4321.
- Docs live in
docs/as Markdown/MDX. Navigation is derived from the file tree;meta.tsfiles order each group, and parenthesized(group)/folders add sidebar sections without a URL segment. Docs serve under/docs/*; the marketing homepage owns/. - Landing page is
pages/index.astro(+components/home/*.astro), with React islands only for the animated capability panels (components/capabilities/*). - Config is
blume.config.ts; theme overrides are intheme.css. - Component registry — the shadcn UI components live in
registry/files-sdk/;scripts/build-registry.tsemitspublic/r/*.json(a prebuild step) sonpx shadcn add <site>/r/<name>.jsonworks. Component previews render against alib/demo-files.tsmock (no live gateway). - Changelog at
/changelogis generated from the repo's GitHub releases (seecontent.sourcesinblume.config.ts).
bun run build # bun scripts/build-registry.ts && blume build → dist/
bun run preview # serve the built dist/Static output goes to dist/. Redirects and /r/* CORS headers live in vercel.json. Two settings must be configured in the Vercel project dashboard (they can't be committed):
- Root Directory =
apps/web - Node version = 22+