diff --git a/content/zh-cn/docs/concepts/architecture/leases.md b/content/zh-cn/docs/concepts/architecture/leases.md index 082832c82d..43a94350a2 100644 --- a/content/zh-cn/docs/concepts/architecture/leases.md +++ b/content/zh-cn/docs/concepts/architecture/leases.md @@ -1,10 +1,16 @@ --- title: 租约(Lease) +api_metadata: +- apiVersion: "coordination.k8s.io/v1" + kind: "Lease" content_type: concept weight: 30 --- diff --git a/content/zh-cn/docs/concepts/policy/limit-range.md b/content/zh-cn/docs/concepts/policy/limit-range.md index f2e19bde68..74b3beace9 100644 --- a/content/zh-cn/docs/concepts/policy/limit-range.md +++ b/content/zh-cn/docs/concepts/policy/limit-range.md @@ -1,8 +1,21 @@ --- title: 限制范围 +api_metadata: +- apiVersion: "v1" + kind: "LimitRange" content_type: concept weight: 10 --- + diff --git a/content/zh-cn/docs/concepts/services-networking/endpoint-slices.md b/content/zh-cn/docs/concepts/services-networking/endpoint-slices.md index 1f1cf1be6b..db020d326c 100644 --- a/content/zh-cn/docs/concepts/services-networking/endpoint-slices.md +++ b/content/zh-cn/docs/concepts/services-networking/endpoint-slices.md @@ -1,5 +1,8 @@ --- title: EndpointSlice +api_metadata: +- apiVersion: "discovery.k8s.io/v1" + kind: "EndpointSlice" content_type: concept weight: 60 description: >- @@ -11,6 +14,9 @@ description: >- reviewers: - freehan title: EndpointSlices +api_metadata: +- apiVersion: "discovery.k8s.io/v1" + kind: "EndpointSlice" content_type: concept weight: 60 description: >- diff --git a/content/zh-cn/docs/concepts/workloads/controllers/replicationcontroller.md b/content/zh-cn/docs/concepts/workloads/controllers/replicationcontroller.md index 0e7870e46b..a0b79b92ae 100644 --- a/content/zh-cn/docs/concepts/workloads/controllers/replicationcontroller.md +++ b/content/zh-cn/docs/concepts/workloads/controllers/replicationcontroller.md @@ -1,5 +1,8 @@ --- title: ReplicationController +api_metadata: +- apiVersion: "v1" + kind: "ReplicationController" content_type: concept weight: 90 description: >- @@ -12,6 +15,9 @@ reviewers: - bprashanth - janetkuo title: ReplicationController +api_metadata: +- apiVersion: "v1" + kind: "ReplicationController" content_type: concept weight: 90 description: >- diff --git a/data/i18n/zh-cn/zh-cn.toml b/data/i18n/zh-cn/zh-cn.toml index efa98fe0af..87cbc39a7c 100644 --- a/data/i18n/zh-cn/zh-cn.toml +++ b/data/i18n/zh-cn/zh-cn.toml @@ -1,6 +1,9 @@ # i18n strings for the Chinese version of the site (https://kubernetes.io/zh-cn/) # 注意:修改此文件时请维持字符串名称的字母顺序并与英文版保持一致 +[api_reference_title] +other = "API 参考" + [auto_generated_edit_notice] other = "(自动生成的页面)"