You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/README.md
+22-3Lines changed: 22 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,8 @@ This website is built using [Docusaurus](https://docusaurus.io/), a modern stati
4
4
5
5
## Requirements
6
6
7
-
-[Node.js](https://nodejs.org/en/download/) version 20.0 or above (which can be checked by running `node -v`). You can use [nvm](https://github.com/nvm-sh/nvm) for managing multiple Node versions on a single machine installed.
7
+
-[Node.js](https://nodejs.org/en/download/) version 20.0 or above (which can be checked by running `node -v`). You can
8
+
use [nvm](https://github.com/nvm-sh/nvm) for managing multiple Node versions on a single machine installed.
8
9
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.
9
10
10
11
## Installation
@@ -27,7 +28,24 @@ Preview the Chinese website locally:
27
28
pnpm start --locale zh-cn
28
29
```
29
30
30
-
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
31
+
This command starts a local development server and opens up a browser window. Most changes are reflected live without
32
+
having to restart the server.
33
+
34
+
## Team Page
35
+
36
+
### Member
37
+
38
+
Update the member information in `src/pages/team/data/member.json` File.
39
+
40
+
### Avatar
41
+
42
+
```console
43
+
pnpm github-avatar
44
+
```
45
+
46
+
This command will fetch the base64 string of the GitHub avatar from file
47
+
`src/pages/team/data/member.json`, and store the result in the `src/pages/team/data/` directory. The operation might
48
+
take a little while.
31
49
32
50
## Internationalization
33
51
@@ -49,7 +67,8 @@ pnpm write-translations --locale en
49
67
pnpm build
50
68
```
51
69
52
-
This command generates static content into the `build` directory and can be served using any static contents hosting service.
70
+
This command generates static content into the `build` directory and can be served using any static contents hosting
0 commit comments