diff --git a/docusaurus.config.js b/docusaurus.config.js index 51773282..d3c14691 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -150,8 +150,8 @@ const config = { position: "right", }, { - href: "https://releases.halo.run", - label: "版本", + href: "https://www.lxware.cn/halo?code=mcYhwMkn", + label: "版本对比", position: "right", }, { @@ -159,11 +159,6 @@ const config = { label: "GitHub", position: "right", }, - { - href: "https://gitee.com/halo-dev/halo", - label: "Gitee", - position: "right", - }, ], }, footer: { diff --git a/i18n/zh-Hans/code.json b/i18n/zh-Hans/code.json index 1d58f61b..b9ebd43f 100644 --- a/i18n/zh-Hans/code.json +++ b/i18n/zh-Hans/code.json @@ -96,10 +96,6 @@ "theme.docs.versionBadge.label": { "message": "版本:{versionLabel}" }, - "theme.common.editThisPage": { - "message": "编辑此页", - "description": "The link label to edit the current page" - }, "theme.docs.versions.unreleasedVersionLabel": { "message": "此为 {siteTitle} {versionLabel} 版尚未发行的文档。", "description": "The label used to tell the user that he's browsing an unreleased doc version" @@ -116,6 +112,10 @@ "message": "最新版本", "description": "The label used for the latest version suggestion link label" }, + "theme.common.editThisPage": { + "message": "编辑此页", + "description": "The link label to edit the current page" + }, "theme.common.headingLinkTitle": { "message": "{heading}的直接链接", "description": "Title for link to heading" @@ -144,6 +144,10 @@ "message": "标签:", "description": "The label alongside a tag list" }, + "theme.AnnouncementBar.closeButtonAriaLabel": { + "message": "关闭", + "description": "The ARIA label for close button of announcement bar" + }, "theme.admonition.caution": { "message": "警告", "description": "The default label used for the Caution admonition (:::caution)" @@ -172,10 +176,6 @@ "message": "最近博文导航", "description": "The ARIA label for recent posts in the blog sidebar" }, - "theme.AnnouncementBar.closeButtonAriaLabel": { - "message": "关闭", - "description": "The ARIA label for close button of announcement bar" - }, "theme.DocSidebarItem.expandCategoryAriaLabel": { "message": "展开侧边栏分类 '{label}'", "description": "The ARIA label to expand the sidebar category" @@ -192,6 +192,10 @@ "message": "主导航", "description": "The ARIA label for the main navigation" }, + "theme.TOCCollapsible.toggleButtonLabel": { + "message": "本页总览", + "description": "The label used by the button on the collapsible TOC component" + }, "theme.NotFound.p1": { "message": "我们找不到您要找的页面。", "description": "The first paragraph of the 404 page" @@ -200,14 +204,26 @@ "message": "请联系原始链接来源网站的所有者,并告知他们链接已损坏。", "description": "The 2nd paragraph of the 404 page" }, - "theme.TOCCollapsible.toggleButtonLabel": { - "message": "本页总览", - "description": "The label used by the button on the collapsible TOC component" - }, "theme.navbar.mobileLanguageDropdown.label": { "message": "选择语言", "description": "The label for the mobile language switcher dropdown" }, + "theme.blog.post.readingTime.plurals": { + "message": "阅读需 {readingTime} 分钟", + "description": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.CodeBlock.copy": { + "message": "复制", + "description": "The copy button label on code blocks" + }, + "theme.CodeBlock.copied": { + "message": "复制成功", + "description": "The copied button label on code blocks" + }, + "theme.CodeBlock.copyButtonAriaLabel": { + "message": "复制代码到剪贴板", + "description": "The ARIA label for copy code blocks button" + }, "theme.blog.post.readMore": { "message": "阅读更多", "description": "The label used in blog post item excerpts to link to full blog posts" @@ -216,22 +232,10 @@ "message": "阅读 {title} 的全文", "description": "The ARIA label for the link to full blog posts from excerpts" }, - "theme.blog.post.readingTime.plurals": { - "message": "阅读需 {readingTime} 分钟", - "description": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" - }, "theme.CodeBlock.wordWrapToggle": { "message": "切换自动换行", "description": "The title attribute for toggle word wrapping button of code block lines" }, - "theme.docs.sidebar.navAriaLabel": { - "message": "文档侧边栏", - "description": "The ARIA label for the sidebar navigation" - }, - "theme.docs.breadcrumbs.home": { - "message": "主页面", - "description": "The ARIA label for the home page in the breadcrumbs" - }, "theme.docs.sidebar.collapseButtonTitle": { "message": "收起侧边栏", "description": "The title attribute for collapse button of doc sidebar" @@ -240,25 +244,13 @@ "message": "收起侧边栏", "description": "The title attribute for collapse button of doc sidebar" }, - "theme.CodeBlock.copy": { - "message": "复制", - "description": "The copy button label on code blocks" - }, - "theme.CodeBlock.copied": { - "message": "复制成功", - "description": "The copied button label on code blocks" - }, - "theme.CodeBlock.copyButtonAriaLabel": { - "message": "复制代码到剪贴板", - "description": "The ARIA label for copy code blocks button" - }, - "theme.navbar.mobileDropdown.collapseButton.expandAriaLabel": { - "message": "Expand the dropdown", - "description": "The ARIA label of the button to expand the mobile dropdown navbar item" + "theme.docs.breadcrumbs.home": { + "message": "主页面", + "description": "The ARIA label for the home page in the breadcrumbs" }, - "theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel": { - "message": "Collapse the dropdown", - "description": "The ARIA label of the button to collapse the mobile dropdown navbar item" + "theme.docs.sidebar.navAriaLabel": { + "message": "文档侧边栏", + "description": "The ARIA label for the sidebar navigation" }, "theme.docs.sidebar.closeSidebarButtonAriaLabel": { "message": "关闭导航栏", @@ -272,6 +264,14 @@ "message": "切换导航栏", "description": "The ARIA label for hamburger menu button of mobile navigation" }, + "theme.navbar.mobileDropdown.collapseButton.expandAriaLabel": { + "message": "Expand the dropdown", + "description": "The ARIA label of the button to expand the mobile dropdown navbar item" + }, + "theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel": { + "message": "Collapse the dropdown", + "description": "The ARIA label of the button to collapse the mobile dropdown navbar item" + }, "theme.docs.sidebar.expandButtonTitle": { "message": "展开侧边栏", "description": "The ARIA label and title attribute for expand button of doc sidebar" diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/current.json b/i18n/zh-Hans/docusaurus-plugin-content-docs/current.json index 2507cc73..59111f6f 100644 --- a/i18n/zh-Hans/docusaurus-plugin-content-docs/current.json +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/current.json @@ -39,6 +39,10 @@ "message": "Rainbond 一键部署", "description": "The label for link 'Rainbond 一键部署' in sidebar 'tutorial', linking to 'https://hub.grapps.cn/marketplace/apps/1255'" }, + "sidebar.tutorial.link.更新日志": { + "message": "更新日志", + "description": "The label for link '更新日志' in sidebar 'tutorial', linking to 'https://releases.halo.run/changelog'" + }, "sidebar.developer.category.系统开发": { "message": "系统开发", "description": "The label for category '系统开发' in sidebar 'developer'" diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/version-2.23.json b/i18n/zh-Hans/docusaurus-plugin-content-docs/version-2.23.json index f3ca0d5a..5c844584 100644 --- a/i18n/zh-Hans/docusaurus-plugin-content-docs/version-2.23.json +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/version-2.23.json @@ -39,6 +39,10 @@ "message": "Rainbond 一键部署", "description": "The label for link 'Rainbond 一键部署' in sidebar 'tutorial', linking to 'https://hub.grapps.cn/marketplace/apps/1255'" }, + "sidebar.tutorial.link.更新日志": { + "message": "更新日志", + "description": "The label for link '更新日志' in sidebar 'tutorial', linking to 'https://releases.halo.run/changelog'" + }, "sidebar.developer.category.系统开发": { "message": "系统开发", "description": "The label for category '系统开发' in sidebar 'developer'" diff --git a/i18n/zh-Hans/docusaurus-theme-classic/navbar.json b/i18n/zh-Hans/docusaurus-theme-classic/navbar.json index fc751224..41e2316f 100644 --- a/i18n/zh-Hans/docusaurus-theme-classic/navbar.json +++ b/i18n/zh-Hans/docusaurus-theme-classic/navbar.json @@ -23,9 +23,9 @@ "message": "论坛", "description": "Navbar item with label 论坛" }, - "item.label.版本": { - "message": "版本", - "description": "Navbar item with label 版本" + "item.label.版本对比": { + "message": "版本对比", + "description": "Navbar item with label 版本对比" }, "item.label.GitHub": { "message": "GitHub", diff --git a/sidebars.js b/sidebars.js index 53a3c9b1..217a5797 100644 --- a/sidebars.js +++ b/sidebars.js @@ -135,6 +135,12 @@ module.exports = { items: ["contribution/issue", "contribution/pr"], }, "about", + { + type: "link", + label: "更新日志", + href: "https://releases.halo.run/changelog", + description: "查看 Halo 的更新日志", + } ], developer: [ diff --git a/versioned_sidebars/version-2.23-sidebars.json b/versioned_sidebars/version-2.23-sidebars.json index 4dcfaf40..76a06220 100644 --- a/versioned_sidebars/version-2.23-sidebars.json +++ b/versioned_sidebars/version-2.23-sidebars.json @@ -114,12 +114,15 @@ "link": { "type": "generated-index" }, - "items": [ - "contribution/issue", - "contribution/pr" - ] + "items": ["contribution/issue", "contribution/pr"] }, - "about" + "about", + { + "type": "link", + "label": "更新日志", + "href": "https://releases.halo.run/changelog", + "description": "查看 Halo 的更新日志" + } ], "developer": [ { @@ -344,9 +347,7 @@ "link": { "type": "generated-index" }, - "items": [ - "developer-guide/plugin/examples/todolist" - ] + "items": ["developer-guide/plugin/examples/todolist"] }, "developer-guide/plugin/api-changelog" ] @@ -431,9 +432,7 @@ "link": { "type": "generated-index" }, - "items": [ - "developer-guide/appendix/publish-app" - ] + "items": ["developer-guide/appendix/publish-app"] } ] }