Skip to content

Commit

Permalink
Merge pull request #49712 from windsonsea/readmz
Browse files Browse the repository at this point in the history
update text and maintainers to zh-cn/README.md
  • Loading branch information
k8s-ci-robot authored Feb 11, 2025
2 parents 13d7c3b + 5ecad76 commit c2c8b10
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions content/zh-cn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ To use this repository, you need the following installed locally:
- [Hugo(Extended 版本)](https://gohugo.io/)
- 容器运行时,比如 [Docker](https://www.docker.com/)

<!--
Make sure to install the Hugo extended version specified by the `HUGO_VERSION` environment variable in the [`netlify.toml`](netlify.toml#L11) file.
-->
> [!NOTE]
请确保安装的是 [`netlify.toml`](netlify.toml#L11) 文件中环境变量 `HUGO_VERSION` 所指定的
Hugo Extended 版本。

<!--
Before you start, install the dependencies. Clone the repository and navigate to the directory:
-->
Expand All @@ -59,17 +66,22 @@ cd website
```

<!--
The Kubernetes website uses the [Docsy Hugo theme](https://github.com/google/docsy#readme). Even if you plan to run the website in a container, we strongly recommend pulling in the submodule and other development dependencies by running the following:
The Kubernetes website uses the [Docsy Hugo theme](https://github.com/google/docsy#readme),
which can be installed via npm. You can also download a pre-configured
development container image that includes Hugo and Docsy. Additionally, a Git
submodule is used for tools that generate the reference documentation.
-->
Kubernetes 网站使用的是 [Docsy Hugo 主题](https://github.com/google/docsy#readme)
即使你打算在容器中运行网站,我们也强烈建议你通过运行以下命令来引入子模块和其他开发依赖项:
Kubernetes 网站使用的是 [Docsy Hugo 主题](https://github.com/google/docsy#readme)
可以通过 npm 安装。你也可以下载一个预配置的开发容器镜像,其中包含 Hugo 和 Docsy。
此外,Kubernetes 网站还使用了 Git 子模块来管理生成参考文档的工具。

<!--
### Windows
```powershell
# fetch submodule dependencies
git submodule update --init --recursive --depth 1
```
```
-->
### Windows

Expand All @@ -80,10 +92,11 @@ git submodule update --init --recursive --depth 1

<!--
### Linux / other Unix
```bash
# fetch submodule dependencies
make module-init
```
```
-->
### Linux / 其它 Unix

Expand Down Expand Up @@ -129,15 +142,10 @@ Open up your browser to <http://localhost:1313> to view the website. As you make
<!--
## Running the website locally using Hugo
Make sure to install the Hugo extended version specified by the `HUGO_VERSION` environment variable in the [`netlify.toml`](netlify.toml#L11) file.
To install dependencies, deploy and test the site locally, run:
-->
## 在本地使用 Hugo 来运行网站

请确保安装的是 [`netlify.toml`](netlify.toml#L11) 文件中环境变量 `HUGO_VERSION` 所指定的
Hugo Extended 版本。

若要在本地安装依赖,构建和测试网站,运行以下命令:

<!--
Expand Down Expand Up @@ -407,13 +415,15 @@ For more information about contributing to the Kubernetes documentation, see:
- [Page Content Types](https://kubernetes.io/docs/contribute/style/page-content-types/)
- [Documentation Style Guide](https://kubernetes.io/docs/contribute/style/style-guide/)
- [Localizing Kubernetes Documentation](https://kubernetes.io/docs/contribute/localization/)
- [Introduction to Kubernetes Docs](https://www.youtube.com/watch?v=pprMgmNzDcw)
-->
有关为 Kubernetes 文档做出贡献的更多信息,请参阅:

- [贡献 Kubernetes 文档](https://kubernetes.io/zh-cn/docs/contribute/)
- [页面内容类型](https://kubernetes.io/zh-cn/docs/contribute/style/page-content-types/)
- [文档风格指南](https://kubernetes.io/zh-cn/docs/contribute/style/style-guide/)
- [本地化 Kubernetes 文档](https://kubernetes.io/zh-cn/docs/contribute/localization/)
- [YouTube 视频:Kubernetes 文档介绍](https://www.youtube.com/watch?v=pprMgmNzDcw)

<!--
### New contributor ambassadors
Expand Down Expand Up @@ -441,8 +451,8 @@ SIG Docs 的当前新贡献者大使:

可以通过以下方式联系中文本地化的维护人员:

* Rui Chen ([GitHub - @chenrui333](https://github.com/chenrui333))
* He Xiaolong ([GitHub - @markthink](https://github.com/markthink))
* Qiming Teng ([GitHub - @tengqm](https://github.com/tengqm))
* Michael Yao ([GitHub - @windsonsea](https://github.com/windsonsea))
* [Slack 频道](https://kubernetes.slack.com/messages/kubernetes-docs-zh)

<!--
Expand Down

0 comments on commit c2c8b10

Please sign in to comment.