Documentation site for the Vendo SDKs (Python, TypeScript, Swift). Built with Fumadocs + Next.js 16.
npm install
npm run devOpen http://localhost:3000.
npm run buildProduces a static export in out/. All pages are pre-rendered — no server required.
Connect this repo in the Cloudflare Pages dashboard:
- Framework preset: Next.js (Static HTML Export)
- Build command:
npm run build - Build output directory:
out
Alternatively, deploy via Wrangler:
npx wrangler pages deploy out --project-name vendo-docsAll content lives in content/docs/ as MDX files. Edit, save, hot-reload in dev mode.
- Create a
.mdxfile in the appropriatecontent/docs/<section>/directory. - Add frontmatter:
titleanddescription. - Register the page in the section's
meta.jsonunderpages.
Use the <Tabs> / <Tab> components from fumadocs-ui/components/tabs to show Python, TypeScript, and Swift side-by-side:
import { Tab, Tabs } from "fumadocs-ui/components/tabs";
<Tabs items={["Python", "TypeScript", "Swift"]}>
<Tab value="Python">...Python code...</Tab>
<Tab value="TypeScript">...TypeScript code...</Tab>
<Tab value="Swift">...Swift code...</Tab>
</Tabs>content/docs/
index.mdx Overview + language picker
getting-started/ Quickstarts per language
concepts/ Two modes, multi-tenant, errors, events, webhooks
cookbook/ Copy-paste recipes (all three languages)
sdks/ Per-language install + API surface reference
src/
app/
(home)/page.tsx Landing page
docs/[[...slug]]/page.tsx Docs renderer
lib/source.ts Fumadocs source loader