@@ -30,7 +30,7 @@ discussion.
30
30
你可以自行决定,且欢迎使用 PR 来为此文档提供修改意见。
31
31
32
32
关于为 Kubernetes 文档贡献新内容的更多信息,可以参考
33
- [ 文档内容指南] ( /zh/docs/contribute/style/content-guide/ ) 。
33
+ [ 文档内容指南] ( /zh-cn /docs/contribute/style/content-guide/ ) 。
34
34
35
35
样式指南的变更是 SIG Docs 团队集体决定。
36
36
如要提议更改或新增条目,请先将其添加到下一次 SIG Docs 例会的
@@ -46,7 +46,7 @@ and representing feature state.
46
46
-->
47
47
{{< note >}}
48
48
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
50
50
页以及特性门控标注。
51
51
{{< /note >}}
52
52
@@ -68,7 +68,7 @@ Kubernetes 文档已经被翻译为多个语种
68
68
(参见 [ 本地化 READMEs] ( https://github.com/kubernetes/website/blob/main/README.md#localization-readmemds ) )。
69
69
70
70
为文档提供一种新的语言翻译的途径可以在
71
- [ 本地化 Kubernetes 文档] ( /zh/docs/contribute/localization/ ) 中找到。
71
+ [ 本地化 Kubernetes 文档] ( /zh-cn /docs/contribute/localization/ ) 中找到。
72
72
73
73
英语文档使用美国英语的拼写和语法。
74
74
@@ -93,8 +93,8 @@ The following examples focus on capitalization. For more information about forma
93
93
94
94
### 对 API 对象使用大写驼峰式命名法 {#use-upper-camel-case-for-api-objects}
95
95
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/ ) 中看到不同的大小写形式,
98
98
例如 "configMap"。在一般性的文档中,最好使用大写驼峰形式,将之称作 "ConfigMap"。
99
99
100
100
在一般性地讨论 API 对象时,使用
@@ -103,8 +103,8 @@ The following examples focus on capitalization. For more information about forma
103
103
你可以使用“资源”、“API”或者“对象”这类词汇来进一步在句子中明确所指的是
104
104
一个 Kubernetes 资源类型。
105
105
106
- 不要将 API 对象的名称切分成多个单词。例如,使用 PodTemplateList,不要
107
- 使用 Pod Template List。
106
+ 不要将 API 对象的名称切分成多个单词。例如,使用 PodTemplateList,
107
+ 不要使用 Pod Template List。
108
108
109
109
下面的例子关注的是大小写问题。关于如何格式化 API 对象的名称,
110
110
有关详细细节可参考相关的[ 代码风格] ( #code-style-inline-code ) 指南。
@@ -1267,7 +1267,7 @@ These steps ... | These simple steps ...
1267
1267
1268
1268
## {{% heading "whatsnext" %}}
1269
1269
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/ ) 。
1273
1273
0 commit comments