Overview of Rspress features and architecture
Rspress is a static site generator based on Rsbuild and rendered with React. It is optimized for high-performance documentation sites and offers the following core capabilities:
- Build Performance: Uses a Rust-based toolchain (Rspack for bundling and
@rspress/mdx-rsfor Markdown compilation) to achieve significantly faster startup and build times compared to traditional JS-based tools. - MDX Support: Allows the use of React components directly within Markdown files for componentized content and fragment reuse.
- Documentation Essentials: Built-in support for Static Site Generation (SSG), Internationalization (I18n), multi-version document management, and full-text search.
- Developer Experience: Automatic layout generation for navigation bars, sidebars, and article outlines, as well as built-in demo previews and playgrounds for component libraries.