Rspress
Deploy your Rspress documentation sites to Zephyr Cloud with lightning-fast builds powered by Rspack. Rspress is a React-based static site generator that combines the power of React with Markdown content creation.
Prerequisites
- Finished our Prerequisites setup guide
- Installed our Chrome extension
Quick Setup with Codemod
This detects your bundler and configures Zephyr automatically. Learn more →
For manual setup, continue below.
Installation
Install the Rspress plugin in your project:
Configuration
Add the Zephyr plugin to your Rspress configuration:
Project Structure
Rspress uses a content-driven architecture:
Development Workflow
Start your development server:
Build for production:
Preview production build:
Content Management
Write content in Markdown files within the docs/ directory:
- Pages: Create
.mdfiles for individual pages - Navigation: Use
_meta.jsonfiles to configure navigation and page order - Assets: Add static assets to
docs/public/for images and other files - MDX Support: Use React components within your Markdown content
Configuration Options
Customize your Rspress site with additional configuration: