Skip to content

Commit cf3108f

Browse files
authored
Merge pull request #34328 from my-git9/test5
[zh]improve docs
2 parents bf95d3f + c5b0304 commit cf3108f

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

content/zh-cn/docs/contribute/style/style-guide.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ discussion.
3030
你可以自行决定,且欢迎使用 PR 来为此文档提供修改意见。
3131

3232
关于为 Kubernetes 文档贡献新内容的更多信息,可以参考
33-
[文档内容指南](/zh/docs/contribute/style/content-guide/)
33+
[文档内容指南](/zh-cn/docs/contribute/style/content-guide/)
3434

3535
样式指南的变更是 SIG Docs 团队集体决定。
3636
如要提议更改或新增条目,请先将其添加到下一次 SIG Docs 例会的
@@ -46,7 +46,7 @@ and representing feature state.
4646
-->
4747
{{< note >}}
4848
Kubernetes 文档使用带调整的 [Goldmark Markdown 解释器](https://github.com/yuin/goldmark/)
49-
和一些 [Hugo 短代码](/zh/docs/contribute/style/hugo-shortcodes/) 来支持词汇表项、Tab
49+
和一些 [Hugo 短代码](/zh-cn/docs/contribute/style/hugo-shortcodes/) 来支持词汇表项、Tab
5050
页以及特性门控标注。
5151
{{< /note >}}
5252

@@ -68,7 +68,7 @@ Kubernetes 文档已经被翻译为多个语种
6868
(参见 [本地化 READMEs](https://github.com/kubernetes/website/blob/main/README.md#localization-readmemds))。
6969

7070
为文档提供一种新的语言翻译的途径可以在
71-
[本地化 Kubernetes 文档](/zh/docs/contribute/localization/)中找到。
71+
[本地化 Kubernetes 文档](/zh-cn/docs/contribute/localization/)中找到。
7272

7373
英语文档使用美国英语的拼写和语法。
7474

@@ -93,8 +93,8 @@ The following examples focus on capitalization. For more information about forma
9393

9494
### 对 API 对象使用大写驼峰式命名法 {#use-upper-camel-case-for-api-objects}
9595

96-
当你与指定的 API 对象进行交互时,使用 [大写驼峰式命名法](https://en.wikipedia.org/wiki/Camel_case),也被称为帕斯卡拼写法(PascalCase).
97-
你可能在 [API 参考](/docs/reference/kubernetes-api/) 中看到不同的大小写形式,
96+
当你与指定的 API 对象进行交互时,使用[大写驼峰式命名法](https://en.wikipedia.org/wiki/Camel_case),也被称为帕斯卡拼写法(PascalCase)
97+
你可能在 [API 参考](/zh-cn/docs/reference/kubernetes-api/)中看到不同的大小写形式,
9898
例如 "configMap"。在一般性的文档中,最好使用大写驼峰形式,将之称作 "ConfigMap"。
9999

100100
在一般性地讨论 API 对象时,使用
@@ -103,8 +103,8 @@ The following examples focus on capitalization. For more information about forma
103103
你可以使用“资源”、“API”或者“对象”这类词汇来进一步在句子中明确所指的是
104104
一个 Kubernetes 资源类型。
105105

106-
不要将 API 对象的名称切分成多个单词。例如,使用 PodTemplateList,不要
107-
使用 Pod Template List。
106+
不要将 API 对象的名称切分成多个单词。例如,使用 PodTemplateList,
107+
不要使用 Pod Template List。
108108

109109
下面的例子关注的是大小写问题。关于如何格式化 API 对象的名称,
110110
有关详细细节可参考相关的[代码风格](#code-style-inline-code)指南。
@@ -1267,7 +1267,7 @@ These steps ... | These simple steps ...
12671267

12681268
## {{% heading "whatsnext" %}}
12691269

1270-
* 了解[编写新主题](/zh/docs/contribute/style/write-new-topic/).
1271-
* 了解[页面内容类型](/zh/docs/contribute/style/page-content-types/).
1272-
* 了解[发起 PR](/zh/docs/contribute/new-content/open-a-pr/).
1270+
* 了解[编写新主题](/zh-cn/docs/contribute/style/write-new-topic/)
1271+
* 了解[页面内容类型](/zh-cn/docs/contribute/style/page-content-types/)
1272+
* 了解[发起 PR](/zh-cn/docs/contribute/new-content/open-a-pr/)
12731273

content/zh-cn/docs/reference/access-authn-authz/bootstrap-tokens.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ work, via RBAC policy, with the
2525
-->
2626
启动引导令牌是一种简单的持有者令牌(Bearer Token),这种令牌是在新建集群
2727
或者在现有集群中添加新节点时使用的。
28-
它被设计成能够支持 [`kubeadm`](/zh/docs/reference/setup-tools/kubeadm/)
28+
它被设计成能够支持 [`kubeadm`](/zh-cn/docs/reference/setup-tools/kubeadm/)
2929
但是也可以被用在其他的案例中以便用户在不使用 `kubeadm` 的情况下启动集群。
3030
它也被设计成可以通过 RBAC 策略,结合
31-
[Kubelet TLS 启动引导](/zh/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/)
31+
[Kubelet TLS 启动引导](/zh-cn/docs/reference/access-authn-authz/kubelet-tls-bootstrapping/)
3232
系统进行工作。
3333

3434
<!-- body -->
@@ -202,7 +202,7 @@ You can use the `kubeadm` tool to manage tokens on a running cluster. See the
202202
## 使用 `kubeadm` 管理令牌 {#token-management-with-kubeadm}
203203

204204
你可以使用 `kubeadm` 工具管理运行中集群上的令牌。
205-
参见 [kubeadm token 文档](/zh/docs/reference/setup-tools/kubeadm/kubeadm-token/)
205+
参见 [kubeadm token 文档](/zh-cn/docs/reference/setup-tools/kubeadm/kubeadm-token/)
206206
以了解详细信息。
207207

208208
<!--
@@ -285,7 +285,7 @@ is used.
285285
`kubeconfig` 的载荷进行编码。完成编码的载荷会被插入到两个句点中间,形成完整的
286286
JWS。你可以使用完整的令牌(比如 `07401b.f395accd246ae52d`)作为共享密钥,
287287
通过 `HS256` 方式 (HMAC-SHA256) 对 JWS 进行校验。
288-
用户 _必须_ 确保使用了 HS256。
288+
用户**必须**确保使用了 HS256。
289289

290290
{{< warning >}}
291291
<!--
@@ -303,6 +303,6 @@ client relying on the signature to bootstrap TLS trust.
303303
Consult the [kubeadm implementation details](/docs/reference/setup-tools/kubeadm/implementation-details/)
304304
section for more information.
305305
-->
306-
参考 [kubeadm 实现细节](/zh/docs/reference/setup-tools/kubeadm/implementation-details/)
306+
参考 [kubeadm 实现细节](/zh-cn/docs/reference/setup-tools/kubeadm/implementation-details/)
307307
了解更多信息。
308308

0 commit comments

Comments
 (0)