Welcome to Clearify
Clearify turns your markdown files into a beautiful documentation site.
Features
- Zero config — just drop markdown files in
docs/public/and go - MDX support — use React components in your docs (Callout, Tabs, Steps, Cards, CodeGroup)
- Mermaid diagrams — fenced
mermaidcode blocks render as SVG, theme-aware - Built-in search — instant full-text search across all pages
- Dark mode — automatic light/dark theme switching
- Syntax highlighting — beautiful code blocks with Shiki
- Auto changelog — drop a
CHANGELOG.mdin your project root, it appears as/changelog - Claude Code hook — automatic changelog and docs updates after every git commit
Quick Start
npm install @marlinjai/clearify
npx clearify init
npx clearify devThat's it! Your docs are live at http://localhost:4747.
clearify init scaffolds everything you need: a docs/public/ folder (plus docs/internal/ for private docs), starter pages, clearify.config.ts, and a CHANGELOG.md.
Configuration
Customize with clearify.config.ts:
import { defineConfig } from '@marlinjai/clearify';
export default defineConfig({
name: 'My Project',
sections: [
{ label: 'Docs', docsDir: './docs/public' },
{ label: 'Internal', docsDir: './docs/internal', basePath: '/internal', draft: true },
],
});