-
-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #438 from win5923/zh-translation
update zh docusaurus
- Loading branch information
Showing
7 changed files
with
185 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...s/i18n/zh/docusaurus-plugin-content-docs/current/guides/pinning-game-version.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
sidebar_position: 7 | ||
--- | ||
|
||
# 固定游戏版本 | ||
|
||
:::warning | ||
降级到较低的游戏版本是可能的,但目前无法确定这将对现有存档产生什么影响。 | ||
|
||
**请自行承担风险!** | ||
::: | ||
|
||
如果设置了 **TARGET_MANIFEST_ID** 环境变量,将会锁定服务器版本到特定的清单(manifest)。 | ||
清单对应发布日期/更新版本。可以使用 SteamCMD 或类似 [SteamDB](https://steamdb.info/depot/2394012/manifests/) 的网站找到清单。 | ||
|
||
## 版本与清单 ID 对照表 | ||
|
||
| 版本 | 清单 ID | | ||
|---------|------------------------| | ||
| 1.3.0 | 1354752814336157338 | | ||
| 1.4.0 | 4190579964382773830 | | ||
| 1.4.1 | 6370735655629434989 | |
24 changes: 24 additions & 0 deletions
24
...s/i18n/zh/docusaurus-plugin-content-docs/current/guides/running-without-root.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
sidebar_position: 6 | ||
--- | ||
|
||
# 无需使用 root 用户运行 | ||
|
||
这仅适用于高级用户 | ||
|
||
可以运行此容器并[覆盖默认用户](https://docs.docker.com/engine/reference/run/#user),默认用户是此镜像中的 root 用户。 | ||
|
||
由于您正在指定用户和组,`PUID` 和 `PGID` 将被忽略。 | ||
|
||
如果要查找您的 UID:`id -u` | ||
如果要查找您的 GID:`id -g` | ||
|
||
您必须将用户设置为 `NUMBERICAL_UID:NUMBERICAL_GID` | ||
|
||
以下假设您的 UID 为 1000,GID 为 1001 | ||
|
||
* 在 docker run 中添加 `--user 1000:1001 \` 到最后一行上方。 | ||
* 在 docker-compose 中添加 `user: 1000:1001` 到端口上方。 | ||
|
||
如果希望使用与您自己不同的 UID/GID 运行它,您需要更改正在绑定的目录的所有权:`chown UID:GID palworld/` | ||
或通过更改所有其他用户的权限:`chmod o=rwx palworld/` |
17 changes: 17 additions & 0 deletions
17
docusaurus/i18n/zh/docusaurus-plugin-content-docs/current/versions/versions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
sidebar_position: 4 | ||
--- | ||
|
||
# 版本 | ||
|
||
此页面展示了 Docker 镜像标签的版本规则。 | ||
|
||
## 版本结构 | ||
|
||
所有镜像都按照 [Semver](https://semver.org/) 进行标记,除了 `latest` 和 `dev` 镜像。 | ||
|
||
* `latest`: 始终是最新发布版本 | ||
* `dev`: 最新进行中的版本(仅用于测试) | ||
* `vX`: 最新的主版本 | ||
* `vX.X`: 最新的次版本 | ||
* `vX.X.X`: 具体版本 |
Oops, something went wrong.