| name | Rspress | |
|---|---|---|
| slug | frameworks/rspress | |
| description | Documentation site with Rspress static site generator, deployed with Zephyr Cloud | |
| framework | react | |
| bundler | rspack | |
| features |
|
|
| complexity | beginner |
A documentation website built with Rspress, demonstrating static site generation with modern tooling and fast performance.
- Framework: Rspress (React-based SSG)
- Bundler: Rspack (built-in)
- Language: TypeScript
- Content: Markdown with MDX support
- Deployment: Zephyr Cloud
- Features: Static site generation, Hot reload, Theme customization
- Node.js (version 16 or higher)
- pnpm (recommended) or npm
-
Install dependencies
pnpm install
-
Start development server
pnpm dev
The documentation site will be available with hot reload
-
Build for production
pnpm build
Generates optimized static files in the
distdirectory -
Preview production build
pnpm preview
Rspress uses a content-driven architecture:
├── docs/ # Documentation content
│ ├── _meta.json # Navigation configuration
│ ├── index.md # Home page
│ ├── hello.md # Example page
│ ├── guide/ # Guide section
│ │ ├── _meta.json # Section navigation
│ │ └── index.md # Guide content
│ └── public/ # Static assets
├── rspress.config.ts # Rspress configuration
└── tsconfig.json # TypeScript configuration
This example demonstrates static site deployment with Zephyr Cloud, showing how documentation and marketing sites can be efficiently deployed and versioned.
Rspress is a static site generator built on Rspack that provides:
- Lightning fast: Built with Rust-based Rspack for fast builds
- React-based: Leverage React ecosystem and components
- MDX support: Write content in Markdown with React components
- Theme system: Customizable themes and layouts
- Plugin architecture: Extensible with plugins
- TypeScript: Full TypeScript support out of the box
- Write content in Markdown files within the
docs/directory - Use
_meta.jsonfiles to configure navigation and page order - Add static assets to
docs/public/for images and other files - Customize the site configuration in
rspress.config.ts
Zephyr Cloud is a micro-frontend deployment platform that provides:
- Auto-deployment: Seamless deployment from your build process
- Live preview links: Instant preview URLs for your applications
- SemVer versioning: Semantic versioning for your frontend modules
- Rollback capabilities: Easy rollback to previous versions
- Enterprise-scale orchestration: Built for composable frontend systems