Skip to content

Commit

Permalink
docs(zh): sync #3417 combine blog and release to news (#3438)
Browse files Browse the repository at this point in the history
* sync #3417 combine blog and release to news

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>

* clean old file

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>

* Fix bad link

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>

* remove notice migrate to hugo

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>

---------

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>
  • Loading branch information
wilsonwu authored May 21, 2024
1 parent 7d74306 commit 5fb6ff5
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 182 deletions.
6 changes: 0 additions & 6 deletions site/content/en/contributions/DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ description: "This section tells the development of
Envoy Gateway Documents."
---

{{% alert title="Note" color="warning" %}}
We migrated from ***Sphinx*** to ***Hugo*** for Envoy Gateway Documents.

Read blog: [Welcome to new website!](/news/blogs/new-website/new-website)
{{% /alert %}}

The documentation for the Envoy Gateway lives in the `site/content/en` directory (the Chinese content in the `site/content/zh` directory).
Any individual document can be written using [Markdown].

Expand Down
5 changes: 0 additions & 5 deletions site/content/zh/blog/_index.md

This file was deleted.

4 changes: 0 additions & 4 deletions site/content/zh/contributions/DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ title: "参与 Envoy Gateway 文档工作"
description: "本节讲述 Envoy Gateway 文档的开发工作。"
---

{{% alert title="注意" color="warning" %}}
我们已将 Envoy Gateway 文档从 **Sphinx** 迁移到 **Hugo**
{{% /alert %}}

Envoy Gateway 的文档位于 `site/content/en` 目录中(中文内容位于 `site/content/zh` 目录中)。
任何单独的文档都可以使用 [Markdown] 编写。

Expand Down
158 changes: 0 additions & 158 deletions site/content/zh/latest/contributions/DEVELOP.md

This file was deleted.

2 changes: 1 addition & 1 deletion site/content/zh/latest/tasks/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ helm uninstall eg -n envoy-gateway-system

## 接下来 {#next-steps}

浏览[开发者指南](../contributions/develop) ,了解如何参与项目。
浏览[开发者指南](../../contributions/develop) ,了解如何参与项目。
12 changes: 12 additions & 0 deletions site/content/zh/news/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
+++
title = "新闻"
linktitle = "新闻"
description = "有关 Envoy Gateway 的新闻"

[[cascade]]
type = "docs"
+++

这是**新闻**部分。它分为三个类别:博客、演讲和发布。

这些目录中的文件将按时间倒序列出。
8 changes: 8 additions & 0 deletions site/content/zh/news/blogs/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
+++
title = "博客"
description = "关于 Envoy Gateway 的博客"
linktitle = "博客"

[[cascade]]
type = "docs"
+++
8 changes: 8 additions & 0 deletions site/content/zh/news/presentations/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
+++
title = "演讲"
description = "有关 Envoy Gateway 的演讲、讲座和活动"
linktitle = "演讲"

[[cascade]]
type = "docs"
+++
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "发布公告"
description = "Envoy Gateway 发布公告"
linktitle = "公告"
linktitle = "发布"

[[cascade]]
type = "docs"
Expand Down Expand Up @@ -52,5 +52,5 @@ Envoy Gateway 版本按固定时间表(每个季度的第 22 天)生成,
| 0.6.0 | 2023/10/22 | 2023/11/02 | +10 天 | 2024/05/02 |

[v2.0.0 规范]: https://semver.org/lang/zh-CN/
[发布指南]: ../contributions/releasing
[发布指南]: ../../contributions/releasing
[发布时间表]: https://github.com/envoyproxy/envoy/blob/main/RELEASES.md#major-release-schedule
8 changes: 2 additions & 6 deletions site/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -260,18 +260,14 @@ enable = true
name = "贡献"
weight = -98
url = "/contributions"
[[languages.zh.menu.main]]
name = "博客"
weight = -99
url = "/blog"
[[languages.zh.menu.main]]
name = "关于"
weight = -100
url = "/about"
[[languages.zh.menu.main]]
name = "公告"
name = "新闻"
weight = -101
url = "/announcements"
url = "/news"
[[languages.zh.menu.main]]
name = "文档"
weight = -102
Expand Down

0 comments on commit 5fb6ff5

Please sign in to comment.