Render the same docs to any framework.
One source, one IR. React and Svelte ship first-party; any other framework needs an adapter, not a rewrite.
docvia compiles Markdown into typed, pre-rendered modules for React, Svelte, and any framework with an adapter. Nothing parses at runtime.
npm i -D @docvia/cli Works with Markdown, TypeScript, React, Svelte, Next.js, Vite, and static HTML.
One source, one IR. React and Svelte ship first-party; any other framework needs an adapter, not a rewrite.
No proprietary runtime, no required cloud. The output is static files.
Define it once with Zod. docvia generates the matching interface per collection, so a bad field fails the build.
type Frontmatter = {
title: string;
tags: string[];
publishedAt: Date;
};The key covers source, frontmatter, config, and plugin state. Change one and only the affected pages recompile.
Tap any stage of the pipeline. OpenAPI rendering, Mermaid diagrams, and syntax highlighting are all just plugins.
Orama indexes every heading with its body. Run it on the server for a zero-payload index, or ship a static one to the client.
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"] }),
],
});Render OpenAPI operations inline from a fenced block. Parameters, schemas, and samples are generated at build time.
A docs site that lives beside your app code. Same repo, same deploy, same review.
Wiki-grade content with the rigor of compiled code. Frontmatter is typed and validated on every build.
Long-form content with interactive components embedded through directives.
pnpm add -D @docvia/cli npx docvia init --renderer react npx docvia build docvia is a build tool you run yourself, so there is no account to create and nothing phoning home.
Every package in the workspace: compiler, CLI, renderers, plugins. Vendoring or shipping it commercially is fine.
Issues, RFCs, and releases all happen on GitHub. Every version ships with a changeset describing what moved.
A renderer adapter is a few hundred lines. If your framework is missing, the contract is small enough to add it yourself.
No. Parsing, sanitizing, and the IR transform all run at build time. The browser gets pre-rendered output. Syntax highlighting is a build-time plugin too, so no highlighter ships either.
Open source, MIT licensed, in public preview. Install it now, deploy anywhere, and help shape the v1.0 release.