Skip to content

Commit

Permalink
Fix config toml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbumenJ committed Sep 13, 2024
1 parent 12b6b8e commit 1f4ac06
Showing 1 changed file with 80 additions and 28 deletions.
108 changes: 80 additions & 28 deletions cn_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,81 @@ contentDir = "content/zh-cn"
#time_format_default = "02.01.2006"
#time_format_blog = "02.01.2006"

[languages.en.params.community]
navLabel = "COMMUNITY"
weight = 2
[[languages.en.params.community.navOptions.items]]
name = "News"
url = "/en/blog/news/"
[[languages.en.params.community.navOptions.items]]
name = "Security Notices"
url = "/en/overview/notices/"
[[languages.en.params.community.navOptions.items]]
name = "Contributor's Guide"
url = "/zh-cn/contact/"
# [[languages.en.params.community.navOptions.items]]
# name = "Meet The Team"
# url = ""

# Weight used for sorting.
weight = 2
[languages.zh-cn.params.community]
navLabel = "联系社区"
weight = 2
[[languages.zh-cn.params.community.navOptions.items]]
name = "新闻"
url = "/zh-cn/blog/news/"
[[languages.zh-cn.params.community.navOptions.items]]
name = "安全公告"
url = "/zh-cn/overview/notices/"
[[languages.zh-cn.params.community.navOptions.items]]
name = "贡献者指南"
url = "/zh-cn/contact/"
# [[languages.zh-cn.params.community.navOptions.items]]
# name = "认识团队"
# url = ""



[languages.en.params.ecosystem]
navLabel = "ECOSYSTEM"
weight = 2
[[languages.en.params.ecosystem.navOptions.items]]
name = "Code Generator"
url = "https://start.dubbo.apache.org/"
[[languages.en.params.ecosystem.navOptions.items]]
name = "Visualizable Console"
url = "/zh-cn/overview/mannual/control-plane/"
# [[languages.en.params.ecosystem.navOptions.items]]
# name = "Benchmarking"
# url = "http://47.251.95.138:3000/public-dashboards/b75030ae3d0f402ca06b6826de3b590b?orgId=1"
[[languages.en.params.ecosystem.navOptions.items]]
name = "Proxyless Mesh"
url = "/zh-cn/overview/what/core-features/service-mesh/"
[[languages.en.params.ecosystem.navOptions.items]]
name = "More Demos"
url = "https://github.com/apache/dubbo-samples"


[languages.zh-cn.params.ecosystem]
navLabel = "生态"
weight = 2
[[languages.zh-cn.params.ecosystem.navOptions.items]]
name = "代码生成"
url = "https://start.dubbo.apache.org/"
[[languages.zh-cn.params.ecosystem.navOptions.items]]
name = "可视化控制台"
url = "/zh-cn/overview/mannual/control-plane/"
# [[languages.zh-cn.params.ecosystem.navOptions.items]]
# name = "商城系统"
# url = "http://47.251.95.138:3000/public-dashboards/b75030ae3d0f402ca06b6826de3b590b?orgId=1"
[[languages.zh-cn.params.ecosystem.navOptions.items]]
name = "无代理网格"
url = "/zh-cn/overview/what/core-features/service-mesh/"
[[languages.zh-cn.params.ecosystem.navOptions.items]]
name = "更多样例"
url = "https://github.com/apache/dubbo-samples"

[markup]
[markup.goldmark]
[markup.goldmark.renderer]
Expand All @@ -94,20 +169,13 @@ github_branch = "master"
# Specify a value here if your content directory is not in your repo's root directory
# github_subdir = ""

# Enable syntax highlighting and copy buttons on code blocks with Prism
#prism_syntax_highlighting = false

#gcs_engine_id = "011737558837375720776:fsdu1nryfng"

algolia_docsearch = true
offlineSearch = false


[[menu.main]]
name = "Initializer"
weight = 50
url = "https://start.dubbo.apache.org/bootstrap.html"
post = "<i class='fas fa-external-link-alt'></i>"

#[[menu.main]]
# name = "Admin"
# weight = 60
Expand Down Expand Up @@ -140,6 +208,9 @@ offlineSearch = false
# en.docs.url = "https://chickenlj.github.io/incubator-dubbo-website/en/admin/"
# cn.docs.url = "https://chickenlj.github.io/incubator-dubbo-website/cn/admin/"

# Enable syntax highlighting and copy buttons on code blocks with Prism
#prism_syntax_highlighting = false

# User interface configuration
[params.ui]
# https://github.com/gohugoio/hugo/issues/8918#issuecomment-903314696
Expand All @@ -156,7 +227,7 @@ sidebar_search_disable = true
navbar_logo = false
# Set to true to disable the About link in the site footer
footer_about_disable = true
navbar_translucent_over_cover_disable = false
navbar_translucent_over_cover_disable = true

# Adds a H2 section titled "Feedback" to the bottom of each doc. The responses are sent to Google Analytics as events.
# This feature depends on [services.googleAnalytics] and will be disabled if "services.googleAnalytics.id" is not set.
Expand Down Expand Up @@ -209,24 +280,6 @@ icon = "fa fa-envelope"
desc = "Discuss development issues around the project"


[params.ecosystem]
navLabel = "生态"
[params.ecosystem.navOptions]
[[params.ecosystem.navOptions.items]]
name = "Launch A Project"
url = "/zh-cn/blog"
[[params.ecosystem.navOptions.items]]
name = "可视化控制台"
url = "/zh-cn/download"
[[params.ecosystem.navOptions.items]]
name = "商城系统"
url = "/option-3"
[[params.ecosystem.navOptions.items]]
name = "Benchmark"
url = "/option-3"
[[params.ecosystem.navOptions.items]]
name = "Proxyless Mesh"
url = "/option-3"

[sitemap]
changefreq = "monthly"
Expand All @@ -235,4 +288,3 @@ priority = 0.5

[taxonomies]
tag = "tags"

0 comments on commit 1f4ac06

Please sign in to comment.