Version 4.2 — Edge runtime

Documentationengineeredfortheintelligenceage.

Lumicod compiles markdown, OpenAPI specs, and runnable code into a documentation surface your engineers will actually maintain. Built for teams shipping faster than their changelog can keep up.

npm i lumicodMIT licensedSOC 2 Type II
api/users.mdx
// Define your API once.
import { defineEndpoint } from "lumicod";

export const getUser = defineEndpoint({{
  method: "GET",
  path: "/users/:id",
  params: { id: z.string().uuid() },
  response: User,
}});

Trusted by engineering teams shipping into production

AnthropicStripeVercelCognitionPayPalBlockCompoundAuth0LinearCursorSupabaseAnthropicStripeVercelCognitionPayPalBlockCompoundAuth0LinearCursorSupabase

The reading experience

Three columns. Pinned sidebar. Geist Mono where it earns its place.

Components/Tabs

Tabs

Use <Tabs> to group related content into switchable panels. Tabs preserve the active index across navigation and are fully keyboard-navigable.

tabs.mdx
<Tabs defaultIndex={0}>
  <Tab title="npm">npm install lumicod</Tab>
  <Tab title="pnpm">pnpm add lumicod</Tab>
  <Tab title="bun">bun add lumicod</Tab>
</Tabs>

Properties

defaultIndexnumber

The tab index to render selected on first mount.

onChange(i: number) => void

Fires when the active tab changes via click or keyboard.

childrenReactNodeRequired

One or more <Tab> elements. Order defines tab order.

A platform that respects how engineers actually work.

01 — Authoring

MDX with type-safe components.

Author content in markdown and drop in React components that pass through the same compile step as your application code. Lumicod knows the difference between content drift and component drift.

02 — Sync

Git-native, branch-aware.

Every preview deploy resolves to a unique URL tied to your branch. Reviewers see exactly what ships.

03 — Search

Sub-50ms full-text.

Edge-deployed search index rebuilt on every commit. No third-party indexer to keep in sync.

04 — API Reference

Generated from your OpenAPI spec, refined by hand.

Point Lumicod at a spec file and we render typed property tables, request playgrounds, and language-specific code samples. Override any block with hand-written MDX without losing the regeneration loop.

Cursor → Lumicod
"Every YC batch we consistently see the top performing startups use Lumicod to build their docs. It's the tool engineers actually want to write in."
Michael Truell — Co-founder, Cursor
MT