Open Source Documentation Template

Beautiful Documentation, Zero Config

A Dioxus-powered documentation framework with MDX rendering, OpenAPI reference pages, full-text search, and dark/light themes — all embedded at compile time.

Everything You Need

A complete toolkit for building beautiful documentation sites.

MDX Documents

Write docs in MDX with full component support, syntax highlighting, and table of contents generation.

OpenAPI Reference

Auto-generate interactive API reference pages from your OpenAPI/Swagger specifications.

Full-Text Search

Instant search across all documentation with keyboard shortcuts and highlighted results.

Dark & Light Themes

Built-in theme support with DaisyUI. Seamless switching with persisted preferences.

Compile-Time Embedding

All content is embedded at build time — no file I/O at runtime, instant page loads.

Dioxus Fullstack

Server-side rendering, hydration, and server functions out of the box with Dioxus 0.7.

Simple Integration

Set up your documentation site in about 50 lines of glue code.

main.rs
use dioxus_docs_kit::{DocsConfig, DocsRegistry};
use std::sync::LazyLock;

static DOCS: LazyLock<DocsRegistry> = LazyLock::new(|| {
    DocsConfig::new(
        include_str!("../docs/_nav.json"),
        doc_content_map(),
    )
    .with_openapi(
        "api-reference",
        include_str!("../docs/api-reference/petstore.yaml"),
    )
    .with_default_path("getting-started/introduction")
    .with_theme_toggle("light", "dark", "dark")
    .build()
});
Dioxus Docs Kit · Built with DioxusGitHub