Rspack documentation
December 31, 2025 ยท View on GitHub
๐ Documentation for Rspack.
Translation
Currently Rspack provides documentation in English and Chinese. If you can use Chinese, please update both documents at the same time. Otherwise, just update the English documentation.
root
โโ docs
โโ en # English Document
โโ zh # Chinese Document
Contributing
This website is built with Rspress, the document content can be written using markdown or mdx syntax. You can refer to the Rspress Website for detailed usage.
The source code of Rspress can be found in this folder.
If you have any problems using the Rspress, please create a new issue at Rspress Issues.
Writing style guide
- Capitalization style: page titles and section headings should use sentence-style capitalization (only capitalize the first word and proper nouns) rather than title-style capitalization:
- Correct: "A new method for creating JavaScript rollovers"
- Incorrect: "A New Method for Creating JavaScript Rollovers"
Image assets
For images you use in the document, it's better to upload them to the rstackjs/rstack-design-resources repository, so the size of the current repository doesn't get too big.
After you upload the images there, they will be automatically deployed under the https://assets.rspack.rs/.
Install dependencies
Enable pnpm with corepack:
corepack enable
Install dependencies:
pnpm install
Local development
pnpm install
pnpm run dev
Production build
pnpm run build