diff --git a/content/zh/_redirects b/content/zh/_redirects new file mode 100644 index 0000000000..a38fbcc91b --- /dev/null +++ b/content/zh/_redirects @@ -0,0 +1 @@ +/zh/docs/ /zh/docs/home/ 301 diff --git a/content/zh/docs/_index.md b/content/zh/docs/_index.md index b274dc98cd..0b9545eaa6 100644 --- a/content/zh/docs/_index.md +++ b/content/zh/docs/_index.md @@ -1,5 +1,5 @@ --- -title: 主页 +title: 文档 weight: 5 --- diff --git a/content/zh/docs/home/_index.md b/content/zh/docs/home/_index.md index 9a9d8b1e3f..76df61cbf8 100644 --- a/content/zh/docs/home/_index.md +++ b/content/zh/docs/home/_index.md @@ -2,19 +2,98 @@ title: Kubernetes 文档 layout: docsportal_home noedit: true -cid: userJourneys -css: /css/style_user_journeys.css -js: /js/user-journeys/home.js, https://use.fontawesome.com/4bcc658a89.js +class: gridPage display_browse_numbers: true linkTitle: "主页" main_menu: true weight: 10 +hide_feedback: true menu: main: title: "文档" weight: 20 post: >
通过演练,示例和参考文档了解如何使用 Kubernetes。你甚至可以帮助贡献文档!
+ +overview: > + + Kubernetes 是一个开源容器编排引擎,用于容器化应用的自动化部署、扩展和管理。该项目托管在 CNCF。 + + + +cards: +- name: concepts + title: "了解基本知识" + description: "了解 Kubernetes 和其基础概念。" + button: "了解概念" + button_path: "/zh/docs/concepts" +- name: tutorials + title: "尝试 Kubernetes" + description: "按照教程学习如何在 Kubernetes 上部署应用。" + button: "查看教程" + button_path: "/zh/docs/tutorials" +- name: setup + title: "设置集群" + description: "按照你的资源情况和需求运行 Kubernetes。" + button: "设置 Kubernetes" + button_path: "/zh/docs/setup" +- name: tasks + title: "了解如何使用 Kubernetes" + description: "查看常见任务以及如何使用简单步骤执行它们。" + button: "查看任务" + button_path: "/zh/docs/tasks" +- name: reference + title: 参考 + description: 术语、命令行语法、API 资源类型和设置工具文档 + button: 查看参考 + button_path: /zh/docs/reference +- name: contribute + title: 为该文档作出贡献 + description: 任何人,无论对该项目熟悉与否,都能贡献自己的力量。 + button: 参与贡献 + button_path: /zh/docs/contribute +- name: download + title: 下载 Kubernetes + description: 如果你正在安装或升级 Kubernetes 的话,最好参考最新的发行版说明。 +- name: about + title: 关于文档 + description: 该网站包含了当前版本以及前 4 个版本的 Kubernetes 文档。 ---