Render the same docs to any framework.
IR-based compiler emits framework-native modules. React and Svelte today, more adapters as you need them. Same source.
docvia compiles Markdown into typed, pre-rendered modules for React, Svelte, and any framework with an adapter. Incremental builds and built-in search are included, and nothing parses at runtime.
npm i -D @docvia/cli Markdown in. Your framework out.
Works with Markdown, TypeScript, React, Svelte, Next.js, Vite, and static HTML.
Typed frontmatter, incremental builds, framework-native output, and local search, resolved at build time and entirely yours to own.
IR-based compiler emits framework-native modules. React and Svelte today, more adapters as you need them. Same source.
No proprietary runtime, no required cloud. Drop the build artifact on Vercel, Cloudflare, an S3 bucket, or your own infrastructure.
Define frontmatter with Zod once. docvia emits a typed Frontmatter interface for every collection, caught at build, not at runtime.
type Frontmatter = { title: string; tags: string[]; publishedAt: Date; }
Content-addressable cache keyed on source, frontmatter, config, and plugin state. Unchanged files take fractions of a millisecond.
Tap into the compiler at any stage. Add OpenAPI rendering, link checking, or your own AST transforms without forking.
Section-level Orama indexing ships client-side. Add semantic search with your own Claude or OpenAI key. No per-credit metering.
docvia treats your docs the way a modern bundler treats source code: hash, transform, cache, emit. Six stages, parallelized across cores, gated by a content-addressable cache.
import { defineConfig } from "@docvia/cli";
import { createReactRenderer } from "@docvia/renderer-react";
import { shiki } from "@docvia/plugin-shiki";
export default defineConfig({
sourceDir: "docs",
outDir: ".docvia",
renderer: createReactRenderer(),
plugins: [
shiki({ theme: "github-dark", langs: ["typescript", "bash", "json"] }),
],
}); The same primitives (collections, frontmatter, plugins) adapt to whatever you're publishing.
Generate fully-typed API docs from Markdown. Embed live examples inline via the OpenAPI plugin.
Ship a polished docs site that lives next to your app code. Same repo, same deploy, same review process.
Wiki-grade content with the rigor of compiled code. Link checking, typed frontmatter, search by default.
Long-form learning content with embedded interactive components and predictable navigation.
pnpm add -D @docvia/cli Install the CLI as a dev dependency.npx docvia init --renderer react Scaffold a docs/ directory and a working config.npx docvia build Compile your documentation into a typed module graph.docvia is a build pipeline you own. It produces a static module graph that you deploy wherever you want: Vercel, Cloudflare, an S3 bucket, your VPC, or an on-prem box. There is no required cloud, no proprietary runtime, and no telemetry calling home.
Open source, MIT licensed, in public preview. Install it now, deploy anywhere, and help shape the v1.0 release.