update readme (#237)

Signed-off-by: 守辰 <shouchen.zz@alibaba-inc.com>
This commit is contained in:
Zhen Zhang 2025-03-25 18:08:29 +08:00 committed by GitHub
parent 8c14128a7d
commit 589a55346c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions

View File

@ -1,30 +1,30 @@
# Website
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
This website is built using [Docusaurus 3](https://docusaurus.io/), a modern static website generator.
### Installation
```
$ yarn
$ npm install
```
### Local Development
```
$ yarn start
$ npm run start
```
This command starts a local development server and opens up a browser window for default English site. Most changes are reflected live without having to restart the server.
```
$ yarn start --locale zh
$ npm run start -- --locale zh
```
This command starts a local development server and opens up a browser window for Chinese site. Most changes are reflected live without having to restart the server.
### Build
```
$ yarn build
$ npm run build
```
This command generates static content into the `build` directory and can be served using any static contents hosting service.