Skip to content

Commit

Permalink
Add Rancher Home link (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
vickyhella authored Jul 27, 2023
1 parent 8ffbf94 commit 75366f7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
14 changes: 6 additions & 8 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,13 @@ const config = {
items: [
{
type: 'docsVersionDropdown',
position: 'right',
position: 'left',
dropdownActiveClassDisabled: true,
},
{
type: "localeDropdown",
position: "right",
},
{
type: 'doc',
docId: 'index',
position: "right",
label: "Docs",
className: "navbar__docs",
},
{
href: "https://www.suse.com/c/?s=harvester",
position: "right",
Expand All @@ -109,6 +102,11 @@ const config = {
label: "Knowledge Base",
className: "navbar__kb",
},
{
href: 'https://www.rancher.com',
label: 'Rancher Home',
position: 'right',
},
{
href: "https://github.com/harvester/harvester",
label: "GitHub",
Expand Down
2 changes: 1 addition & 1 deletion i18n/zh/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"theme.ErrorPageContent.tryAgain": {
"message": "重试",
"description": "The label of the button to try again when the page crashed"
"description": "The label of the button to try again rendering when the React error boundary captures an error"
},
"theme.NotFound.title": {
"message": "找不到页面",
Expand Down
12 changes: 8 additions & 4 deletions i18n/zh/docusaurus-theme-classic/navbar.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
"item.label.Docs": {
"message": "文档",
"description": "Navbar item with label Docs"
},
"item.label.Blog": {
"message": "博文",
"description": "Navbar item with label Blog"
Expand All @@ -14,5 +10,13 @@
"item.label.GitHub": {
"message": "GitHub",
"description": "Navbar item with label GitHub"
},
"logo.alt": {
"message": "Harvester Logo",
"description": "The alt text of navbar logo"
},
"item.label.Rancher Home": {
"message": "Rancher 主页",
"description": "Navbar item with label Rancher Home"
}
}

0 comments on commit 75366f7

Please sign in to comment.