提交 4aaa0c56 编写于 作者: F freesky-edward

Merge the docs

上级 550331e7
......@@ -224,33 +224,48 @@ paginate = 10
hasChidren = true
[[languages.zh.menu.main]]
identifier = "get-start"
name = "快速入门"
identifier = "developer"
name = "开发指南"
parent = "docs"
url = "/zh/docs/home.html"
url = "/zh/docs/home.html#"
weight=1
[[languages.zh.menu.main]]
identifier = "tutorials"
name = "教程"
identifier = "release"
name = "发行说明"
parent = "docs"
url = "/zh/docs/home.html"
url = "/zh/docs/releasenotes/release_notes.html"
weight = 2
[[languages.zh.menu.main]]
identifier = "development"
name = "开发"
identifier = "install"
name = "安装指南"
parent = "docs"
url = "/zh/docs/home.html"
url = "/zh/docs/installation/home.html"
weight=3
[[languages.zh.menu.main]]
identifier = "reference"
name = "参考"
identifier = "management"
name = "管理员指南"
parent = "docs"
url = "/zh/docs/home.html"
url = "/zh/docs/administration/administration.html"
weight = 4
[[languages.zh.menu.main]]
identifier = "container"
name = "容器用户指南"
parent = "docs"
url = "/zh/docs/container/container.html"
weight = 5
[[languages.zh.menu.main]]
identifier = "vitrual"
name = "虚拟化用户指南"
parent = "docs"
url = "/zh/docs/virtualization/virtualization.html"
weight = 6
[[languages.zh.menu.main]]
identifier = "download"
name = "下载"
......
......@@ -32,6 +32,11 @@ other = "NEWS"
[main_nav_news_name]
other = "News"
# DOC page
[doc_git_footer]
other = "Edit this page"
# 404 page
[404_title]
other = "Page Not Found"
......@@ -39,4 +44,4 @@ other = "Page Not Found"
other = "Go to Homepage"
[docs_nav_menu_name]
other = "MENU"
\ No newline at end of file
other = "MENU"
......@@ -32,6 +32,10 @@ other = "新闻"
[main_nav_news_name]
other = "新闻"
# DOC page
[doc_git_footer]
other = "编辑此页"
# 404 page
[404_title]
other = "没有找到页面"
......@@ -39,4 +43,4 @@ other = "没有找到页面"
other = "返回主页"
[docs_nav_menu_name]
other = "目录"
\ No newline at end of file
other = "目录"
......@@ -10,8 +10,8 @@
{{ end }}
{{ with .Site.Params.BookEditPath }}
<div>
{{ if $.File }}<a href="{{ $.Site.Params.BookRepo }}/{{ . }}/{{ $.File.Path }}" target="_blank" rel="noopener">
<img src="{{ "svg/edit.svg" | relURL }}" alt="Edit" /> Edit this page
{{ if $.File }}<a href="{{ $.Site.Params.BookRepo }}/{{ . }}/{{ $.Site.Language }}/{{ $.File.Path }}" target="_blank" rel="noopener">
<img src="{{ "svg/edit.svg" | relURL }}" alt="Edit" />{{ i18n "doc_git_footer"}}
</a>{{ end }}
</div>
{{ end }}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册