Introduction — DocumentationBuilder

Generate structured API documentation from .NET projects.

Roslyn-Backed Extraction

Reads real type information from .NET projects — not just string-parsed XML files.

SQLite Storage

A portable, queryable database that can be shipped with the application or regenerated on demand.

Viewer-Ready Output

Database and sidebar provider plug directly into DocumentationViewer with no transformation step.

What is DocumentationBuilder?

DMBDocumentationBuilder extracts documentation data from .NET projects and prepares it for rendering by the DMB documentation experience. It uses Roslyn and SQLite to turn project context, XML comments, namespaces and documented objects into a queryable documentation database.

Use it as the build-time or pre-build part of your documentation workflow. It is the package that understands source projects and produces the structured data later consumed by DMBDocumentationViewer .

Roslyn-backed extraction reads real type information from .csproj files
Generated SQLite database is portable and queryable at runtime
Sidebar provider integrates directly with DocumentationViewer — no manual sync required
DocumentationLauncher.Run(
    "../../../../labs_idemobi_com",
    groups
);

Run from a generator project against the target website.

Three Pillars of DocumentationBuilder

DocumentationBuilder covers three stages of the documentation generation pipeline.

Project Extraction

Reads project descriptors, namespaces, classes, records, structs, interfaces, enums and members via Roslyn.

DocumentationLauncher
Documentation Database

Stores extracted metadata in SQLite so documentation can be rendered and searched consistently across the site.

SQLite output
Viewer Ready

Produces data and sidebar information that can be consumed directly by DocumentationViewer inside an ASP.NET Core site.

SidebarProvider

Core Philosophy

We believe documentation should be extracted from the source of truth, not maintained separately. When you annotate public members with XML comments and run DocumentationLauncher.Run(...) , the documentation database reflects the actual API surface — no manual sync required.

Next Step

Use the PreBuilding project as the reference integration point and generate your first database.

Getting Started