Static Site & Docs Builders
VitePress, Astro, Mintlify, Docusaurus, Slidev — the modern stack for shipping docs, marketing pages, and developer slides.
What's in this pack
This pack collects the five static-site frameworks that have outlasted the JS framework churn and ship enough features to be a default choice in 2026. The list is opinionated: nothing here is a "we generate HTML from a single Markdown file" hobby project — every entry has a real plugin ecosystem, a search story, and a deployable production setup.
| # | Tool | Best for | Engine |
|---|---|---|---|
| 1 | VitePress | Vue-flavored docs | Vite + Vue 3 |
| 2 | Astro | content + marketing | Islands architecture |
| 3 | Mintlify | hosted docs portal | React + Mintlify cloud |
| 4 | Docusaurus | versioned API docs | React + MDX |
| 5 | Slidev | engineer slide decks | Vite + Vue + Markdown |
The set covers four shapes: developer documentation (VitePress, Docusaurus), polished marketing pages (Astro), hosted docs-as-a-service (Mintlify), and presentations engineers actually want to give (Slidev). One pack, four output formats — pick the one that fits your audience.
Why this stack
Static sites are back because the alternatives proved expensive. Server-rendered Next.js for marketing pages costs more in compute and complexity than just generating HTML at build time. These five generators all do the same thing: take Markdown (or MDX) plus a small amount of config, and output static HTML you can host on any CDN.
Where they differ:
- VitePress ships a "docs" theme that looks correct out of the box. Used by Vue, Vite, Vitest themselves — strong dogfood signal.
- Astro is the broadest. It can build a docs site, but it can also build a landing page, a blog, a small marketing site. The "Islands" architecture means you ship zero JS unless a component opts in.
- Mintlify is the only hosted entry. You write Markdown, push to GitHub, and Mintlify hosts the rendered docs at
<your>.mintlify.app(or your own domain). It's a SaaS replacement for self-running Docusaurus. - Docusaurus is the heaviest but has the most plugins — versioned docs, i18n, search, blog, all first-class. Pick it when you need versioning across major releases.
- Slidev is the wild card. Markdown-driven slide decks with code highlighting, interactive components, and presenter notes. Engineers who hate Keynote love it.
Install in one command
# Install the pack — drops a starter template for each builder into your project
tokrepo install pack/static-site-docs
# Or pick one
tokrepo install vitepress
tokrepo install astro
tokrepo install docusaurus
The TokRepo CLI scaffolds each framework into sites/<framework>/ so you can compare output and pick a winner before committing. All five include a .tokrepo/ notes file with the production deploy targets we've validated (Vercel, Cloudflare Pages, Netlify, GitHub Pages).
Common pitfalls
- VitePress is Vue-locked. Custom components must be Vue. If your team is React-only, VitePress will feel hostile — Docusaurus or Mintlify are the React options.
- Astro's MDX hydration is opt-in. A
<Counter client:load />ships JS; a plain<Counter />doesn't. Forgettingclient:*is the #1 "why doesn't my button work" bug. - Mintlify means SaaS lock-in. Your content is yours (it's all Markdown in your repo) but the rendering, search, and analytics live in Mintlify cloud. Plan an export path before you commit.
- Docusaurus versioned docs is one-way. Once you cut version 2.0 docs, retroactively editing them is awkward. Be deliberate about when to version.
- Slidev decks are not slides.dev.com. They're your repo. Hosting is on you (Vercel works fine). Don't try to share a localhost URL with your CEO five minutes before a board meeting.
Common misconceptions
"Static means dead" is a myth. All five frameworks support hydration, server functions, or hybrid rendering for the parts that need them. Astro can opt into SSR per route; Docusaurus has client-side React for interactivity; VitePress runs Vue in the browser for any page that needs it. The default is "ship HTML"; the escape hatch is "ship JS where it earns its weight."
"All static site generators are the same" is also wrong. The choice between VitePress and Docusaurus shapes who can contribute to your docs (Vue people vs React people). The choice between Astro and Mintlify shapes who owns the deploy pipeline (you vs Mintlify). Pick deliberately.
5 assets in this pack
Frequently asked questions
Are these tools free?
VitePress, Astro, Docusaurus, and Slidev are MIT open-source — no costs even at scale. Mintlify is freemium: a free tier for small projects and paid plans for analytics, custom domains, and AI search. Self-hosting any of the four free options on Vercel or Cloudflare Pages costs $0 for typical doc-site traffic.
How does Astro compare to Next.js for docs?
Astro's Islands architecture ships near-zero JS by default, where Next.js still hydrates the whole page tree even on a static blog post. For pure docs and marketing, Astro is faster to load and simpler to deploy. Next.js wins when you need full SSR with frequent personalization or auth-gated routes — that's not a docs problem.
Will any of these work with Claude Code or Cursor?
All five are just markdown + JS files in a repo, so any AI editor handles them well. Claude Code and Cursor have specific awareness of Astro and Next.js. For VitePress and Docusaurus, install Vue and React language servers respectively. Mintlify content is pure markdown — every editor handles it natively.
Difference vs Headless CMS for AI?
These are static-site builders — they take content and turn it into HTML at build time. Headless CMS (Strapi, Directus, etc) is the editorial backend that stores the content. Many teams pair them: Directus for editing, Astro for rendering. This pack is the rendering layer; the headless CMS pack is the storage layer.
What's the operational gotcha with Mintlify?
Build minutes are billed once you exceed the free tier, and incremental builds matter. A 200-page docs site rebuilding from scratch on every push burns minutes. Configure the Mintlify GitHub integration's incremental build mode and watch the build dashboard for a week before assuming the free tier is enough.
12 packs · 80+ hand-picked assets
Browse every curated bundle on the home page
Back to all packs