Overview

Fast and local-first documentation platform

Last updated March 17, 2026

Petit is a small, fast, local-first documentation platform. Write markdown, create a config, and run a single command.

Features

Quick start

1
Scaffold

Run npx @ephem-sh/petit init in your project root. This creates a config file and a starter docs folder.

2
Start

Run npx @ephem-sh/petit dev to preview your docs at http://localhost:4321. Changes are picked up automatically.

3
Write

Add markdown files to the directories in your sidebar config. Each .md file becomes a page.

Search Documentation

Search for pages and content