同步现在的代码

This commit is contained in:
linghutianhao
2026-08-14 15:28:57 +08:00
parent 5eab53a777
commit 8b6b8e7ab7
66 changed files with 7248 additions and 1248 deletions
+6 -8
View File
@@ -5,15 +5,13 @@ This website is built using [Docusaurus](https://docusaurus.io/), a modern stati
## Installation
```bash
npm install
yarn
```
**Note**: feel free to use the package manager of your choice.
## Local Development
```bash
npm run start
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.
@@ -21,7 +19,7 @@ This command starts a local development server and opens up a browser window. Mo
## Build
```bash
npm run build
yarn build
```
This command generates static content into the `build` directory and can be served using any static contents hosting service.
@@ -31,13 +29,13 @@ This command generates static content into the `build` directory and can be serv
Using SSH:
```bash
USE_SSH=true npm run deploy
USE_SSH=true yarn deploy
```
Not using SSH:
```bash
GIT_USER=<Your GitHub username> npm run deploy
GIT_USER=<Your GitHub username> yarn deploy
```
If you are using GitHub Pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.