Skip to content

Commit 6e4e181

Browse files
Merge pull request #541 from mesutoezdil/docs/zh-versioned-truncated-fences
fix: close truncated code fences in zh versioned docs
2 parents a9b1539 + 3e335ae commit 6e4e181

21 files changed

Lines changed: 37 additions & 0 deletions

File tree

i18n/zh/docusaurus-plugin-content-docs/version-v2.5.0/contributor/lifted.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ translated: true
55

66
本文档解释了如何管理提升的代码。此任务的一个常见用户案例是开发人员从其他代码库中提升代码到 `pkg/util/lifted` 目录。
77

8+
- [提升代码的步骤](#提升代码的步骤)
9+
- [如何编写提升注释](#如何编写提升注释)
10+
- [示例](#示例)
11+
812
## 提升代码的步骤
913

1014
- 从另一个代码库中复制代码并将其保存到 `pkg/util/lifted` 下的一个 go 文件中。
@@ -115,3 +119,4 @@ type Visitor func(name string) (shouldContinue bool)
115119
| 提升文件 | 源文件 | 常量/变量/类型/函数 | 更改 |
116120
| ----------- | ----------- | ------------------- | ------- |
117121
| visitpod.go | https://github.com/kubernetes/kubernetes/blob/release-1.23/pkg/api/v1/pod/util.go#L82-L83 | type Visitor | N |
122+
```

i18n/zh/docusaurus-plugin-content-docs/version-v2.5.0/developers/build.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,4 @@ The push refers to repository [docker.io/projecthami/hami]
9393
```bash
9494
git clone https://github.com/Project-HAMi/HAMi-core.git
9595
docker build . -f dockerfiles/Dockerfile.{arch}
96+
```

i18n/zh/docusaurus-plugin-content-docs/version-v2.5.0/get-started/nginx-example.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,3 +175,4 @@ Wed Apr 10 09:28:58 2024
175175
| No running processes found |
176176
+-----------------------------------------------------------------------------------------+
177177
[HAMI-core Msg(28:140561996502848:multiprocess_memory_limit.c:434)]: Calling exit handler 28
178+
```

i18n/zh/docusaurus-plugin-content-docs/version-v2.5.0/installation/prerequisites.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,4 @@ sudo systemctl daemon-reload && systemctl restart containerd
8686

8787
```bash
8888
kubectl label nodes {nodeid} gpu=on
89+
```

i18n/zh/docusaurus-plugin-content-docs/version-v2.5.1/contributor/lifted.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ translated: true
55

66
本文档解释了如何管理提升的代码。此任务的一个常见用户案例是开发人员从其他代码库中提升代码到 `pkg/util/lifted` 目录。
77

8+
- [提升代码的步骤](#提升代码的步骤)
9+
- [如何编写提升注释](#如何编写提升注释)
10+
- [示例](#示例)
11+
812
## 提升代码的步骤
913

1014
- 从另一个代码库中复制代码并将其保存到 `pkg/util/lifted` 下的一个 go 文件中。
@@ -115,3 +119,4 @@ type Visitor func(name string) (shouldContinue bool)
115119
| 提升文件 | 源文件 | 常量/变量/类型/函数 | 更改 |
116120
| ----------- | ----------- | ------------------- | ------- |
117121
| visitpod.go | https://github.com/kubernetes/kubernetes/blob/release-1.23/pkg/api/v1/pod/util.go#L82-L83 | type Visitor | N |
122+
```

i18n/zh/docusaurus-plugin-content-docs/version-v2.5.1/developers/build.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,4 @@ The push refers to repository [docker.io/projecthami/hami]
9393
```bash
9494
git clone https://github.com/Project-HAMi/HAMi-core.git
9595
docker build . -f dockerfiles/Dockerfile.{arch}
96+
```

i18n/zh/docusaurus-plugin-content-docs/version-v2.5.1/get-started/nginx-example.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,3 +175,4 @@ Wed Apr 10 09:28:58 2024
175175
| No running processes found |
176176
+-----------------------------------------------------------------------------------------+
177177
[HAMI-core Msg(28:140561996502848:multiprocess_memory_limit.c:434)]: Calling exit handler 28
178+
```

i18n/zh/docusaurus-plugin-content-docs/version-v2.5.1/installation/prerequisites.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,4 @@ sudo systemctl daemon-reload && systemctl restart containerd
8686

8787
```bash
8888
kubectl label nodes {nodeid} gpu=on
89+
```

i18n/zh/docusaurus-plugin-content-docs/version-v2.5.1/userguide/nvidia-device/specify-device-type-to-use.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ metadata:
1919
metadata:
2020
annotations:
2121
nvidia.com/nouse-gputype: "1080,2080" # 为此作业指定黑名单卡类型,使用逗号分隔,不会在指定的卡上启动作业
22+
```

i18n/zh/docusaurus-plugin-content-docs/version-v2.6.0/contributor/lifted.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ translated: true
55

66
本文档解释了如何管理提升的代码。此任务的一个常见用户案例是开发人员从其他代码库中提升代码到 `pkg/util/lifted` 目录。
77

8+
- [提升代码的步骤](#提升代码的步骤)
9+
- [如何编写提升注释](#如何编写提升注释)
10+
- [示例](#示例)
11+
812
## 提升代码的步骤
913

1014
- 从另一个代码库中复制代码并将其保存到 `pkg/util/lifted` 下的一个 go 文件中。
@@ -115,3 +119,4 @@ type Visitor func(name string) (shouldContinue bool)
115119
| 提升文件 | 源文件 | 常量/变量/类型/函数 | 更改 |
116120
| ----------- | ----------- | ------------------- | ------- |
117121
| visitpod.go | https://github.com/kubernetes/kubernetes/blob/release-1.23/pkg/api/v1/pod/util.go#L82-L83 | type Visitor | N |
122+
```

0 commit comments

Comments
 (0)