Skip to content
d docvia
Guide

Guides

Task-oriented guides for configuring docvia, integrating it with a framework, and extending the pipeline.

The guides cover docvia from the user's side — how to configure it, wire it into an app, and extend it. For the API surface of an individual package, see the Packages reference.

In this section

The mental model

docvia has two halves:

  1. The compile core (CompileService) reads Markdown, runs it through the pipeline, and produces a typed module graph — at build time, in the dev server, or per request.
  2. A framework integration consumes that module graph — the source module (virtual:docvia/source on Vite, docvia/source on Next.js) gives you getPage, getPages, and pageTree, and a renderer turns each page's content into framework-native output.

The same core runs in three modes — build, dev, and SSR — so their output is identical. Everything else — plugins, the frontmatter schema, the incremental cache, syntax highlighting — is a detail of how the core produces that module graph. See Architecture for the full picture.