summaryrefslogtreecommitdiff
path: root/docs/locales/zh/getting_started/installation
diff options
context:
space:
mode:
authorLibravatar CDN <cdn@0x15lab.net>2025-02-09 18:13:08 +0800
committerLibravatar GitHub <noreply@github.com>2025-02-09 11:13:08 +0100
commit62f25ea08aa5d537ab5a207c2325812b35da1f3a (patch)
tree69cfcfae5531b1f59e93264815b67f38f066bb8d /docs/locales/zh/getting_started/installation
parent[chore] fix typo in docs (#3758) (diff)
downloadgotosocial-62f25ea08aa5d537ab5a207c2325812b35da1f3a.tar.xz
[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
Diffstat (limited to 'docs/locales/zh/getting_started/installation')
-rw-r--r--docs/locales/zh/getting_started/installation/container.md4
-rw-r--r--docs/locales/zh/getting_started/installation/metal.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/locales/zh/getting_started/installation/container.md b/docs/locales/zh/getting_started/installation/container.md
index 43c526896..f8c60f469 100644
--- a/docs/locales/zh/getting_started/installation/container.md
+++ b/docs/locales/zh/getting_started/installation/container.md
@@ -44,7 +44,7 @@ nano docker-compose.yaml
* `snapshot`:指向当前在主分支上的代码。不保证稳定,可能经常出错。谨慎使用。
* `vX.Y.Z`:发布标签。这指向 GoToSocial 的特定、稳定的版本。
-!!! tip
+!!! tip "提示"
`latest` 和 `snapshot` 标签是动态标签,而 `vX.Y.Z` 标签是固定的。拉取动态标签的结果可能每天都会变化。同一系统上的 `latest` 可能与不同系统上的 `latest` 不同。建议使用 `vX.Y.Z` 标签,以便你始终确切知道运行的是 GoToSocial 的哪个版本。发布列表可以在[这里](https://github.com/superseriousbusiness/gotosocial/releases)找到,最新的发布在顶部。
### 主机
@@ -87,7 +87,7 @@ nano docker-compose.yaml
如果你决定稍后设置/更改这些变量,请确保在更改后重新创建 GoToSocial 实例容器。
-!!! tip
+!!! tip "提示"
有关将 config.yaml 文件中的变量名称转换为环境变量的帮助,请参阅[配置部分](../../configuration/index.md#environment-variables)。
diff --git a/docs/locales/zh/getting_started/installation/metal.md b/docs/locales/zh/getting_started/installation/metal.md
index 0419e8cc4..425597299 100644
--- a/docs/locales/zh/getting_started/installation/metal.md
+++ b/docs/locales/zh/getting_started/installation/metal.md
@@ -33,7 +33,7 @@ cd /gotosocial
现在,下载与你运行的操作系统和架构相对应的最新 GoToSocial 发行版压缩包。
-!!! tip
+!!! tip "提示"
你可以在[这里](https://github.com/superseriousbusiness/gotosocial/releases)找到按发布时间排列的发布列表,最新的发行版位于最上面。
例如,下载适用于 64 位 Linux 的版本:
@@ -52,7 +52,7 @@ tar -xzf gotosocial_${GTS_VERSION}_${GTS_TARGET}.tar.gz
这将在你的当前目录放置 `gotosocial` 二进制文件,以及包含网页前端资源的 `web` 文件夹和包含示例配置文件的 `example` 文件夹。
-!!! danger
+!!! danger "危险"
如果你想使用基于当前主分支代码的 GoToSocial 快照构建,可以从[这里](https://minio.s3.superseriousbusiness.org/browser/gotosocial-snapshots)下载最近的二进制 .tar.gz 文件(基于提交哈希)。仅在你很清楚自己的操作时使用,否则请使用稳定版。
## 编辑配置文件