[docs/zh] Update zh docs: synced to e10de84 (#3763)

* [docs/zh] Update zh docs: synced to e10de84

* [docs/zh] update mkdocs config of zh docs

* [docs/zh] update repo docs translations (README, ROADMAP, CONTRIBUTING) + update swagger schema metadata of docs/zh
This commit is contained in:
CDN 2025-02-09 18:13:08 +08:00 committed by GitHub
commit 62f25ea08a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 1789 additions and 152 deletions

View file

@ -148,7 +148,7 @@ Golang 的一个特点是,它所依赖的源代码管理路径与 `go.mod` 中
>
> 把你的派生分支添加为 origin
>
> `git remote add origin git@github.com/yourgithubname/gotosocial`
> `git remote add origin git@github.com:yourgithubname/gotosocial`
>
在第一次构建项目之前,一定要运行 `git fetch`
@ -488,7 +488,7 @@ GoToSocial 使用 [go-swagger](https://goswagger.io) 根据代码注释生成 Sw
如果你更改了任何 API 路径上的 Swagger 注释,可以通过运行以下命令在 `./docs/api/swagger.yaml` 生成一个新的 Swagger 文件:
```bash
swagger generate spec --scan-models --exclude-deps -o docs/api/swagger.yaml
go run github.com/go-swagger/go-swagger/cmd/swagger generate spec --scan-models --exclude-deps --output docs/api/swagger.yaml
```
### CI/CD 配置