Lightning fast static site generator for documentation
open sourceMITfree
Rspress is a React-based static site generator built on Rsbuild and the Rust-based Rspack bundler, made by ByteDance as part of its Rstack toolchain, by the team that makes Rspack. It ships a default documentation theme, writes pages in Markdown and MDX, generates the navbar and sidebar from _nav.json and _meta.json files, builds a full-text search index during the build, and handles internationalization and multi-version docs. Its SSG-MD mode also outputs a Markdown copy of every page plus llms.txt and llms-full.txt for language models. A plugin system and theme overrides (CSS variables, slots or ejected components) extend it. It is MIT licensed.
Problems it solves
- build a documentation site for my project from Markdown files
- my docs site takes too long to start and rebuild while I write
- publish my docs as Markdown and llms.txt so AI agents can read them
- document a React component library with live previews
Features
- Markdown and MDX pages with React components
- built-in full-text search index
- navbar and sidebar generated from _nav.json and _meta.json
- internationalization and multi-version docs
- llms.txt, llms-full.txt and a Markdown copy of every page (SSG-MD)
- plugin system and theme customization down to ejected components
- lazy compilation in dev and a persistent build cache
Alternatives
The same job
These do what Rspress does.
- docsify A magical documentation site generator: Markdown files become a website with no build step
- Docusaurus Easy to maintain open source documentation websites.
- Starlight Build beautiful, accessible, high-performance documentation websites with Astro
- Zensical A modern static site generator by the Material for MkDocs team
- mdBook Create books from Markdown files
- VitePress Vite & Vue powered static site generator