mirror of
https://github.com/dromara/hertzbeat.git
synced 2026-09-17 09:40:58 +00:00
[docs] fix the issue of avatar reference on the team page (#3820)
This commit is contained in:
@@ -25,6 +25,30 @@ yarn start
|
||||
|
||||
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
|
||||
|
||||
## Team Page
|
||||
|
||||
### Member
|
||||
|
||||
Update the member information in `src/pages/team/data/member.json` File.
|
||||
|
||||
### Contributor
|
||||
|
||||
Please refer to the [All Contributors](https://allcontributors.org/) to auto add contributor.
|
||||
|
||||
```console
|
||||
yarn all-contributors generate
|
||||
```
|
||||
|
||||
Use generate to read the contributors list from `.all-contributorsrc` file and update the contributor tables specified by the files key.
|
||||
|
||||
### Avatar
|
||||
|
||||
```console
|
||||
yarn github-avatar
|
||||
```
|
||||
|
||||
This command will fetch the base64 string of the GitHub avatar from file `src/pages/team/data/member.json` and `.all-contributorsrc`, and store the result in the `src/pages/team/data/` directory. The operation might take a little while.
|
||||
|
||||
## Build
|
||||
|
||||
```console
|
||||
|
||||
Reference in New Issue
Block a user