InkDocs is a documentation theme built on Astro Starlight. It gives you everything a modern docs site needs — search, sidebar navigation, dark mode, MDX, i18n — out of the box, with zero configuration beyond pointing it at your Markdown files.
How It Works
src/content/docs/
├── getting-started/
│ ├── introduction.md → /getting-started/introduction/
│ └── quick-start.md → /getting-started/quick-start/
├── guide/
│ └── writing-content.md → /guide/writing-content/
└── api/
└── config.md → /api/config/
Drop Markdown files into src/content/docs/. The sidebar, routing, and table of contents are generated automatically.
Key Features
- Pagefind search — Full-text search across all docs pages, built at compile time. No server, no API key.
- Auto-generated sidebar — Folder structure defines the navigation hierarchy. No manual nav config.
- Dark/light mode — System preference detection with manual toggle. Per-user preference saved to localStorage.
- MDX support — Mix Markdown with interactive Astro/React components.
- i18n built-in — Ship docs in multiple languages with automatic locale detection and language switcher.
- Expressive Code — Syntax-highlighted code blocks with titles, line numbers, and copy buttons.
Design
Clean, readable documentation aesthetic. Default dark mode with a blue-purple accent. Typography tuned for long-form technical reading — 16px body, 1.7 line height, monospace code blocks with consistent vertical rhythm.