Skip to main content
All apps
Docs

Docs Site

A documentation website from plain markdown files: a `contentDir` collection turns a folder of `.md` files into one route per file, with a grouped sidebar, prev/next, a TOC, and highlighted code.

The configuration

This is the whole app. Copy it, change it, make it yours.

name: docs-site
description: >-
  A documentation website built with Sovrium's markdown pages
  feature — an Astro Starlight / Docusaurus alternative. Plain
  .md files under content/docs/ become one route per file, with
  a grouped sidebar, prev/next, a TOC, and Shiki code.

theme:
  $ref: ./config/theme.yaml

pages:
  - $ref: ./config/pages/home.yaml    # inline markdown
  - $ref: ./config/pages/docs.yaml    # contentDir → routes

Run it

Install Sovrium, then start the app from its config.

curl -fsSL https://sovrium.com/install | sh
sovrium init my-docs --template docs-site

Build your own

Start from a template or an empty file. One config, and Sovrium runs the whole app.