Introduction
Turn a GitHub folder of Markdown/MDX into a fast, searchable docs site.
gittydocs ✨
Simple, but ejectable modern docs for simple devs.
Write docs in Markdown. Push to GitHub. Get a beautiful docs site.

Features
- LLMs-ready — Automatic llms.txt generation, so AI agents can explore your docs with efficient tokens
- Easy & Minimal — One
.jsoncconfig file, a couple of.mdx, push to GitHub, deploy anywhere - Partial-Text Search —
Ctrl+K/Cmd+Kto find pages and headings, grouped by navigation (w/ flexsearch) - Table of Contents — Auto-generated with scroll spy showing current section
- Copy Page — Copy entire page as Markdown with one click
- MDX Components — Import-free steps, file trees, accordions, and titled code blocks
- Navigation — Nested groups, icons, breadcrumbs, and previous/next links
- Dark Mode — Built-in toggle
- GitHub Integration — "Edit this page" links and "Open in GitHub" page actions
- Fully Customizable — Built on Velite + Vike + Solid. Eject anytime and own your stack
- Static Export — Deploy to any host
Quick Start
To get started, all you really need is a folder with .mdx and gittydocs.jsonc files. But for convenience, you can also use the CLI to scaffold.
- Scaffold with the CLI
npx gittydocs@latest new docs # Creates a "docs" folder npx gittydocs@latest dev docs # Live preview & hot-reloadThis creates this file structure:
docs
[static]
- logo.svgStatic asset, served at /static/logo.svg
- gittydocs.jsoncConfig
- index.tsxOptional custom landing (/)
- introduction.mdx/introduction
- getting-started.mdxA page
- theme.cssCustom styles
- Add a dev script (optional)
Recommended: add a dev script in your repo:
package.json{ "scripts": { "dev:docs": "gittydocs dev docs" } } - Make it yours
Customize
gittydocs.jsonc! (More in Configuration#Options)gittydocs.jsonc{ "$schema": "https://raw.githubusercontent.com/blankeos/gittydocs/main/gittydocs.schema.json", "site": { + "name": "MyDocs", + "description": "Documentation about my tools!", + "logo": "/static/logo.svg", + "socialBanner": "/static/banner.png", ... } - Add some pages
Create a page like
about-us.mdx(More in Configuration#Writing-Content)about-us.mdx--- title: About Us description: A little about the team --- # Welcome Your content here. - Deploy your docs
Push to GitHub. Pick a deployment option:
🎉 That's literally it! You have docs now!
