π Documentation for Rspack.
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
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.
For images you use in the document, it's better to upload them to the rspack-contrib/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.dev/.
Enable pnpm with corepack:
corepack enable
Install dependencies:
pnpm install
pnpm install
pnpm run dev
pnpm run build