Introduction
Stardust is a Dart-native documentation framework that generates beautiful, static documentation sites with zero configuration required.
Info
Stardust is built entirely in Dart — no Node.js, no npm, no JavaScript toolchain required.
Why Stardust?
Building documentation shouldn't require a complex JavaScript toolchain. Stardust provides:
Zero Config
Sensible defaults out of the box. Start writing immediately.
Blazing Fast
Native Dart binary. Builds in milliseconds, not minutes.
Beautiful
Clean, modern design with automatic dark mode support.
Key Features
- Markdown-based — Write docs in Markdown with powerful JSX-style components
- 30+ Components — Callouts, tabs, code groups, API docs, and more
- Full-text Search — Powered by Pagefind, works entirely client-side
- SEO Optimized — Automatic sitemap, robots.txt, Open Graph, and Twitter Cards
- OpenAPI Import — Generate API documentation from Swagger/OpenAPI specs
- LLM-friendly — Generate
llms.txtfor AI assistants - Dark Mode — Automatic dark mode that respects system preferences
Quick Example
Create a markdown file with JSX-style components:
markdown
# Getting Started
<Info>
This guide will help you get up and running in 5 minutes.
</Info>
<Steps>
<Step title="Install Stardust">
Run the installation command for your platform.
</Step>
<Step title="Initialize a project">
Use `stardust init` to create a new docs project.
</Step>
<Step title="Start writing">
Create markdown files in the `docs/` directory.
</Step>
</Steps>