Skip to content

Latest commit

Β 

History

History
55 lines (35 loc) Β· 1.42 KB

README.md

File metadata and controls

55 lines (35 loc) Β· 1.42 KB

Rspack Documentation

πŸ“„ 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.

Image Assets

For images you use in the document, it's better to upload them to the rspack-contrib/rsfamily-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/.

Install dependencies

Enable pnpm with corepack:

corepack enable

Install dependencies:

pnpm install

Local development

pnpm install
pnpm run dev

Production build

pnpm run build