Skip to content
mavis

Your Markdown, ready to read.

Mavis turns a documentation directory into a browsable local site with rendered core GitLab Flavored Markdown, folder navigation, document tables of contents, and no separate site-building step.

Mavis renders and serves your documents locally by default, without a hosted service or runtime installation.

Documentation without the build pipeline

Core GLFM rendering

Read tables, task lists, fenced code, links, and other everyday Markdown as clean HTML.

Markdown

Your directory, directly

Browse the folders and documents you already have. No import, database, or generated content store.

Serving documentation

Navigation that stays useful

Move through folders, jump to document headings, and use ordinary browser history and heading URLs.

Serving documentation

Small, explicit configuration

Use CLI flags or root-level TOML for exclusions, hidden files, TCP listeners, and Unix sockets.

Configuration

Content boundaries

Keep excluded, hidden, configuration, and out-of-root content unavailable through listings and direct URLs.

Security

Desktop and mobile reading

Use a two-pane desktop layout or dismissible file navigation on smaller screens, with keyboard access throughout.

Browsers

Configuration that stays with the docs

A root-level .mavis.conf holds reusable exclusions and server defaults. CLI flags override listener settings, while exclusion patterns from both sources combine.

Configuration reference
exclude = ["drafts/**", "*.tmp"]
include_hidden = false

[server]
host = "127.0.0.1"
port = 3344

Install the standalone binary

  • # Download and extract the archive for your OS and CPU.
    # No Go or language runtime is required.
    mavis serve /path/to/documentation

    Installation

  • git clone https://github.com/thorstenkramm/mavis.git
    cd mavis
    make build
    ./mavis serve ./testdata/docs

    Installation