mirror of
https://github.com/halo-dev/docs.git
synced 2025-10-21 02:04:01 +00:00
chore: bump docusaurus to 2.1.0 (#91)
升级 docusaurus 到 2.1.0 - https://github.com/facebook/docusaurus/releases/tag/v2.0.0 - https://github.com/facebook/docusaurus/releases/tag/v2.1.0 ```release-note none ```
This commit is contained in:
@@ -4,15 +4,13 @@ const katex = require("rehype-katex");
|
|||||||
const mermaid = require("mdx-mermaid");
|
const mermaid = require("mdx-mermaid");
|
||||||
const VersionsArchived = require("./versionsArchived.json");
|
const VersionsArchived = require("./versionsArchived.json");
|
||||||
|
|
||||||
// With JSDoc @type annotations, IDEs can provide config autocompletion
|
/** @type {import('@docusaurus/types').Config} */
|
||||||
/** @type {import('@docusaurus/types').DocusaurusConfig} */
|
const config = {
|
||||||
(
|
|
||||||
module.exports = {
|
|
||||||
title: "Halo Documents",
|
title: "Halo Documents",
|
||||||
tagline: "Halo 博客系统的文档站点",
|
tagline: "Halo 博客系统的文档站点",
|
||||||
url: "https://docs.halo.run",
|
url: "https://docs.halo.run",
|
||||||
baseUrl: "/",
|
baseUrl: "/",
|
||||||
onBrokenLinks: "throw",
|
onBrokenLinks: "warn",
|
||||||
onBrokenMarkdownLinks: "warn",
|
onBrokenMarkdownLinks: "warn",
|
||||||
favicon: "img/favicon-96x96.png",
|
favicon: "img/favicon-96x96.png",
|
||||||
i18n: {
|
i18n: {
|
||||||
@@ -24,7 +22,7 @@ const VersionsArchived = require("./versionsArchived.json");
|
|||||||
|
|
||||||
presets: [
|
presets: [
|
||||||
[
|
[
|
||||||
"@docusaurus/preset-classic",
|
"classic",
|
||||||
/** @type {import('@docusaurus/preset-classic').Options} */
|
/** @type {import('@docusaurus/preset-classic').Options} */
|
||||||
({
|
({
|
||||||
docs: {
|
docs: {
|
||||||
@@ -266,5 +264,6 @@ const VersionsArchived = require("./versionsArchived.json");
|
|||||||
type: "text/css",
|
type: "text/css",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
};
|
||||||
);
|
|
||||||
|
module.exports = config;
|
||||||
|
@@ -25,13 +25,25 @@
|
|||||||
"message": "请联系原始链接来源网站的所有者,并告知他们链接已损坏。",
|
"message": "请联系原始链接来源网站的所有者,并告知他们链接已损坏。",
|
||||||
"description": "The 2nd paragraph of the 404 page"
|
"description": "The 2nd paragraph of the 404 page"
|
||||||
},
|
},
|
||||||
"theme.AnnouncementBar.closeButtonAriaLabel": {
|
"theme.admonition.note": {
|
||||||
"message": "关闭",
|
"message": "备注",
|
||||||
"description": "The ARIA label for close button of announcement bar"
|
"description": "The default label used for the Note admonition (:::note)"
|
||||||
},
|
},
|
||||||
"theme.BackToTopButton.buttonAriaLabel": {
|
"theme.admonition.tip": {
|
||||||
"message": "回到顶部",
|
"message": "提示",
|
||||||
"description": "The ARIA label for the back to top button"
|
"description": "The default label used for the Tip admonition (:::tip)"
|
||||||
|
},
|
||||||
|
"theme.admonition.danger": {
|
||||||
|
"message": "危险",
|
||||||
|
"description": "The default label used for the Danger admonition (:::danger)"
|
||||||
|
},
|
||||||
|
"theme.admonition.info": {
|
||||||
|
"message": "信息",
|
||||||
|
"description": "The default label used for the Info admonition (:::info)"
|
||||||
|
},
|
||||||
|
"theme.admonition.caution": {
|
||||||
|
"message": "警告",
|
||||||
|
"description": "The default label used for the Caution admonition (:::caution)"
|
||||||
},
|
},
|
||||||
"theme.blog.archive.title": {
|
"theme.blog.archive.title": {
|
||||||
"message": "历史博文",
|
"message": "历史博文",
|
||||||
@@ -41,17 +53,9 @@
|
|||||||
"message": "历史博文",
|
"message": "历史博文",
|
||||||
"description": "The page & hero description of the blog archive page"
|
"description": "The page & hero description of the blog archive page"
|
||||||
},
|
},
|
||||||
"theme.blog.post.readingTime.plurals": {
|
"theme.BackToTopButton.buttonAriaLabel": {
|
||||||
"message": "{readingTime} 分钟阅读",
|
"message": "回到顶部",
|
||||||
"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)"
|
"description": "The ARIA label for the back to top button"
|
||||||
},
|
|
||||||
"theme.blog.post.readMoreLabel": {
|
|
||||||
"message": "阅读 {title} 的全文",
|
|
||||||
"description": "The ARIA label for the link to full blog posts from excerpts"
|
|
||||||
},
|
|
||||||
"theme.blog.post.readMore": {
|
|
||||||
"message": "阅读更多",
|
|
||||||
"description": "The label used in blog post item excerpts to link to full blog posts"
|
|
||||||
},
|
},
|
||||||
"theme.blog.paginator.navAriaLabel": {
|
"theme.blog.paginator.navAriaLabel": {
|
||||||
"message": "博文列表分页导航",
|
"message": "博文列表分页导航",
|
||||||
@@ -77,10 +81,6 @@
|
|||||||
"message": "较旧一篇",
|
"message": "较旧一篇",
|
||||||
"description": "The blog post button label to navigate to the older/next post"
|
"description": "The blog post button label to navigate to the older/next post"
|
||||||
},
|
},
|
||||||
"theme.blog.sidebar.navAriaLabel": {
|
|
||||||
"message": "最近博文导航",
|
|
||||||
"description": "The ARIA label for recent posts in the blog sidebar"
|
|
||||||
},
|
|
||||||
"theme.blog.post.plurals": {
|
"theme.blog.post.plurals": {
|
||||||
"message": "{count} 篇博文",
|
"message": "{count} 篇博文",
|
||||||
"description": "Pluralized label for \"{count} posts\". 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)"
|
"description": "Pluralized label for \"{count} posts\". 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)"
|
||||||
@@ -93,18 +93,6 @@
|
|||||||
"message": "查看所有标签",
|
"message": "查看所有标签",
|
||||||
"description": "The label of the link targeting the tag list page"
|
"description": "The label of the link targeting the tag list page"
|
||||||
},
|
},
|
||||||
"theme.CodeBlock.copyButtonAriaLabel": {
|
|
||||||
"message": "复制代码到剪贴板",
|
|
||||||
"description": "The ARIA label for copy code blocks button"
|
|
||||||
},
|
|
||||||
"theme.CodeBlock.copied": {
|
|
||||||
"message": "复制成功",
|
|
||||||
"description": "The copied button label on code blocks"
|
|
||||||
},
|
|
||||||
"theme.CodeBlock.copy": {
|
|
||||||
"message": "复制",
|
|
||||||
"description": "The copy button label on code blocks"
|
|
||||||
},
|
|
||||||
"theme.colorToggle.ariaLabel": {
|
"theme.colorToggle.ariaLabel": {
|
||||||
"message": "切换浅色/暗黑模式(当前为{mode})",
|
"message": "切换浅色/暗黑模式(当前为{mode})",
|
||||||
"description": "The ARIA label for the navbar color mode toggle"
|
"description": "The ARIA label for the navbar color mode toggle"
|
||||||
@@ -117,18 +105,18 @@
|
|||||||
"message": "浅色模式",
|
"message": "浅色模式",
|
||||||
"description": "The name for the light color mode"
|
"description": "The name for the light color mode"
|
||||||
},
|
},
|
||||||
|
"theme.docs.breadcrumbs.home": {
|
||||||
|
"message": "主页面",
|
||||||
|
"description": "The ARIA label for the home page in the breadcrumbs"
|
||||||
|
},
|
||||||
|
"theme.docs.breadcrumbs.navAriaLabel": {
|
||||||
|
"message": "页面路径",
|
||||||
|
"description": "The ARIA label for the breadcrumbs"
|
||||||
|
},
|
||||||
"theme.docs.DocCard.categoryDescription": {
|
"theme.docs.DocCard.categoryDescription": {
|
||||||
"message": "{count} 个项目",
|
"message": "{count} 个项目",
|
||||||
"description": "The default description for a category card in the generated index about how many items this category includes"
|
"description": "The default description for a category card in the generated index about how many items this category includes"
|
||||||
},
|
},
|
||||||
"theme.docs.sidebar.expandButtonTitle": {
|
|
||||||
"message": "展开侧边栏",
|
|
||||||
"description": "The ARIA label and title attribute for expand button of doc sidebar"
|
|
||||||
},
|
|
||||||
"theme.docs.sidebar.expandButtonAriaLabel": {
|
|
||||||
"message": "展开侧边栏",
|
|
||||||
"description": "The ARIA label and title attribute for expand button of doc sidebar"
|
|
||||||
},
|
|
||||||
"theme.docs.paginator.navAriaLabel": {
|
"theme.docs.paginator.navAriaLabel": {
|
||||||
"message": "文档分页导航",
|
"message": "文档分页导航",
|
||||||
"description": "The ARIA label for the docs pagination"
|
"description": "The ARIA label for the docs pagination"
|
||||||
@@ -141,24 +129,12 @@
|
|||||||
"message": "下一页",
|
"message": "下一页",
|
||||||
"description": "The label used to navigate to the next doc"
|
"description": "The label used to navigate to the next doc"
|
||||||
},
|
},
|
||||||
"theme.docs.sidebar.collapseButtonTitle": {
|
|
||||||
"message": "收起侧边栏",
|
|
||||||
"description": "The title attribute for collapse button of doc sidebar"
|
|
||||||
},
|
|
||||||
"theme.docs.sidebar.collapseButtonAriaLabel": {
|
|
||||||
"message": "收起侧边栏",
|
|
||||||
"description": "The title attribute for collapse button of doc sidebar"
|
|
||||||
},
|
|
||||||
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": {
|
|
||||||
"message": "打开/收起侧边栏菜单「{label}」",
|
|
||||||
"description": "The ARIA label to toggle the collapsible sidebar category"
|
|
||||||
},
|
|
||||||
"theme.docs.tagDocListPageTitle.nDocsTagged": {
|
"theme.docs.tagDocListPageTitle.nDocsTagged": {
|
||||||
"message": "{count} 篇文档带有标签",
|
"message": "{count} 篇文档带有标签",
|
||||||
"description": "Pluralized label for \"{count} docs tagged\". 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)"
|
"description": "Pluralized label for \"{count} docs tagged\". 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.docs.tagDocListPageTitle": {
|
"theme.docs.tagDocListPageTitle": {
|
||||||
"message": "{nDocsTagged} 篇带有标签「{tagName}」",
|
"message": "{nDocsTagged}「{tagName}」",
|
||||||
"description": "The title of the page for a docs tag"
|
"description": "The title of the page for a docs tag"
|
||||||
},
|
},
|
||||||
"theme.docs.versionBadge.label": {
|
"theme.docs.versionBadge.label": {
|
||||||
@@ -200,10 +176,6 @@
|
|||||||
"message": "最后{byUser}{atDate}更新",
|
"message": "最后{byUser}{atDate}更新",
|
||||||
"description": "The sentence used to display when a page has been last updated, and by who"
|
"description": "The sentence used to display when a page has been last updated, and by who"
|
||||||
},
|
},
|
||||||
"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": {
|
|
||||||
"message": "← 回到主菜单",
|
|
||||||
"description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"
|
|
||||||
},
|
|
||||||
"theme.navbar.mobileVersionsDropdown.label": {
|
"theme.navbar.mobileVersionsDropdown.label": {
|
||||||
"message": "选择版本",
|
"message": "选择版本",
|
||||||
"description": "The label for the navbar versions dropdown on mobile view"
|
"description": "The label for the navbar versions dropdown on mobile view"
|
||||||
@@ -212,25 +184,174 @@
|
|||||||
"message": "跳到主要内容",
|
"message": "跳到主要内容",
|
||||||
"description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"
|
"description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"
|
||||||
},
|
},
|
||||||
"theme.TOCCollapsible.toggleButtonLabel": {
|
|
||||||
"message": "本页总览",
|
|
||||||
"description": "The label used by the button on the collapsible TOC component"
|
|
||||||
},
|
|
||||||
"theme.tags.tagsListLabel": {
|
"theme.tags.tagsListLabel": {
|
||||||
"message": "标签:",
|
"message": "标签:",
|
||||||
"description": "The label alongside a tag list"
|
"description": "The label alongside a tag list"
|
||||||
},
|
},
|
||||||
|
"theme.AnnouncementBar.closeButtonAriaLabel": {
|
||||||
|
"message": "关闭",
|
||||||
|
"description": "The ARIA label for close button of announcement bar"
|
||||||
|
},
|
||||||
|
"theme.blog.sidebar.navAriaLabel": {
|
||||||
|
"message": "最近博文导航",
|
||||||
|
"description": "The ARIA label for recent posts in the blog sidebar"
|
||||||
|
},
|
||||||
|
"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.CodeBlock.copy": {
|
||||||
|
"message": "复制",
|
||||||
|
"description": "The copy button label on code blocks"
|
||||||
|
},
|
||||||
|
"theme.CodeBlock.wordWrapToggle": {
|
||||||
|
"message": "切换自动换行",
|
||||||
|
"description": "The title attribute for toggle word wrapping button of code block lines"
|
||||||
|
},
|
||||||
|
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": {
|
||||||
|
"message": "打开/收起侧边栏菜单「{label}」",
|
||||||
|
"description": "The ARIA label to toggle the collapsible sidebar category"
|
||||||
|
},
|
||||||
"theme.navbar.mobileLanguageDropdown.label": {
|
"theme.navbar.mobileLanguageDropdown.label": {
|
||||||
"message": "选择语言",
|
"message": "选择语言",
|
||||||
"description": "The label for the mobile language switcher dropdown"
|
"description": "The label for the mobile language switcher dropdown"
|
||||||
},
|
},
|
||||||
"theme.SearchBar.seeAll": {
|
"theme.TOCCollapsible.toggleButtonLabel": {
|
||||||
"message": "查看全部 {count} 个结果"
|
"message": "本页总览",
|
||||||
|
"description": "The label used by the button on the collapsible TOC component"
|
||||||
|
},
|
||||||
|
"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.blog.post.readMore": {
|
||||||
|
"message": "阅读更多",
|
||||||
|
"description": "The label used in blog post item excerpts to link to full blog posts"
|
||||||
|
},
|
||||||
|
"theme.blog.post.readMoreLabel": {
|
||||||
|
"message": "阅读 {title} 的全文",
|
||||||
|
"description": "The ARIA label for the link to full blog posts from excerpts"
|
||||||
|
},
|
||||||
|
"theme.docs.sidebar.collapseButtonTitle": {
|
||||||
|
"message": "收起侧边栏",
|
||||||
|
"description": "The title attribute for collapse button of doc sidebar"
|
||||||
|
},
|
||||||
|
"theme.docs.sidebar.collapseButtonAriaLabel": {
|
||||||
|
"message": "收起侧边栏",
|
||||||
|
"description": "The title attribute for collapse button of doc sidebar"
|
||||||
|
},
|
||||||
|
"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": {
|
||||||
|
"message": "← 回到主菜单",
|
||||||
|
"description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"
|
||||||
|
},
|
||||||
|
"theme.docs.sidebar.expandButtonTitle": {
|
||||||
|
"message": "展开侧边栏",
|
||||||
|
"description": "The ARIA label and title attribute for expand button of doc sidebar"
|
||||||
|
},
|
||||||
|
"theme.docs.sidebar.expandButtonAriaLabel": {
|
||||||
|
"message": "展开侧边栏",
|
||||||
|
"description": "The ARIA label and title attribute for expand button of doc sidebar"
|
||||||
},
|
},
|
||||||
"theme.SearchBar.label": {
|
"theme.SearchBar.label": {
|
||||||
"message": "搜索",
|
"message": "搜索",
|
||||||
"description": "The ARIA label and placeholder for search button"
|
"description": "The ARIA label and placeholder for search button"
|
||||||
},
|
},
|
||||||
|
"theme.SearchModal.searchBox.resetButtonTitle": {
|
||||||
|
"message": "清除查询",
|
||||||
|
"description": "The label and ARIA label for search box reset button"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.searchBox.cancelButtonText": {
|
||||||
|
"message": "取消",
|
||||||
|
"description": "The label and ARIA label for search box cancel button"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.startScreen.recentSearchesTitle": {
|
||||||
|
"message": "最近搜索",
|
||||||
|
"description": "The title for recent searches"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.startScreen.noRecentSearchesText": {
|
||||||
|
"message": "没有最近搜索",
|
||||||
|
"description": "The text when no recent searches"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.startScreen.saveRecentSearchButtonTitle": {
|
||||||
|
"message": "保存这个搜索",
|
||||||
|
"description": "The label for save recent search button"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.startScreen.removeRecentSearchButtonTitle": {
|
||||||
|
"message": "从历史记录中删除这个搜索",
|
||||||
|
"description": "The label for remove recent search button"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.startScreen.favoriteSearchesTitle": {
|
||||||
|
"message": "收藏",
|
||||||
|
"description": "The title for favorite searches"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle": {
|
||||||
|
"message": "从收藏列表中删除这个搜索",
|
||||||
|
"description": "The label for remove favorite search button"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.errorScreen.titleText": {
|
||||||
|
"message": "无法获取结果",
|
||||||
|
"description": "The title for error screen of search modal"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.errorScreen.helpText": {
|
||||||
|
"message": "你可能需要检查网络连接。",
|
||||||
|
"description": "The help text for error screen of search modal"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.footer.selectText": {
|
||||||
|
"message": "选中",
|
||||||
|
"description": "The explanatory text of the action for the enter key"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.footer.selectKeyAriaLabel": {
|
||||||
|
"message": "Enter 键",
|
||||||
|
"description": "The ARIA label for the Enter key button that makes the selection"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.footer.navigateText": {
|
||||||
|
"message": "导航",
|
||||||
|
"description": "The explanatory text of the action for the Arrow up and Arrow down key"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.footer.navigateUpKeyAriaLabel": {
|
||||||
|
"message": "向上键",
|
||||||
|
"description": "The ARIA label for the Arrow up key button that makes the navigation"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.footer.navigateDownKeyAriaLabel": {
|
||||||
|
"message": "向下键",
|
||||||
|
"description": "The ARIA label for the Arrow down key button that makes the navigation"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.footer.closeText": {
|
||||||
|
"message": "关闭",
|
||||||
|
"description": "The explanatory text of the action for Escape key"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.footer.closeKeyAriaLabel": {
|
||||||
|
"message": "Esc 键",
|
||||||
|
"description": "The ARIA label for the Escape key button that close the modal"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.footer.searchByText": {
|
||||||
|
"message": "搜索提供",
|
||||||
|
"description": "The text explain that the search is making by Algolia"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.noResultsScreen.noResultsText": {
|
||||||
|
"message": "没有结果:",
|
||||||
|
"description": "The text explains that there are no results for the following search"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.noResultsScreen.suggestedQueryText": {
|
||||||
|
"message": "试试搜索",
|
||||||
|
"description": "The text for the suggested query when no results are found for the following search"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.noResultsScreen.reportMissingResultsText": {
|
||||||
|
"message": "认为这个查询应该有结果?",
|
||||||
|
"description": "The text for the question where the user thinks there are missing results"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.noResultsScreen.reportMissingResultsLinkText": {
|
||||||
|
"message": "请告知我们。",
|
||||||
|
"description": "The text for the link to report missing results"
|
||||||
|
},
|
||||||
|
"theme.SearchModal.placeholder": {
|
||||||
|
"message": "搜索文档",
|
||||||
|
"description": "The placeholder of the input of the DocSearch pop-up modal"
|
||||||
|
},
|
||||||
"theme.SearchPage.documentsFound.plurals": {
|
"theme.SearchPage.documentsFound.plurals": {
|
||||||
"message": "找到 {count} 份文件",
|
"message": "找到 {count} 份文件",
|
||||||
"description": "Pluralized label for \"{count} documents found\". 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)"
|
"description": "Pluralized label for \"{count} documents found\". 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)"
|
||||||
@@ -263,6 +384,9 @@
|
|||||||
"message": "正在获取新的搜索结果...",
|
"message": "正在获取新的搜索结果...",
|
||||||
"description": "The paragraph for fetching new search results"
|
"description": "The paragraph for fetching new search results"
|
||||||
},
|
},
|
||||||
|
"theme.SearchBar.seeAll": {
|
||||||
|
"message": "查看全部 {count} 个结果"
|
||||||
|
},
|
||||||
"theme.tags.tagsPageTitle": {
|
"theme.tags.tagsPageTitle": {
|
||||||
"message": "标签",
|
"message": "标签",
|
||||||
"description": "The title of the tag list page"
|
"description": "The title of the tag list page"
|
||||||
|
23
package.json
23
package.json
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "docs-halo-run",
|
"name": "@halo-dev/docs",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -16,23 +16,23 @@
|
|||||||
"lint": "markdownlint-cli2 './docs/**/*.md' './versioned_docs/version-1.5.2/**/*.md'"
|
"lint": "markdownlint-cli2 './docs/**/*.md' './versioned_docs/version-1.5.2/**/*.md'"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docusaurus/core": "2.0.0-beta.17",
|
"@docusaurus/core": "2.1.0",
|
||||||
"@docusaurus/plugin-client-redirects": "^2.0.0-beta.17",
|
"@docusaurus/plugin-client-redirects": "^2.1.0",
|
||||||
"@docusaurus/preset-classic": "2.0.0-beta.17",
|
"@docusaurus/preset-classic": "2.1.0",
|
||||||
"@docusaurus/theme-classic": "2.0.0-beta.17",
|
"@docusaurus/theme-classic": "2.1.0",
|
||||||
"@docusaurus/theme-common": "2.0.0-beta.17",
|
"@docusaurus/theme-common": "2.1.0",
|
||||||
"@mdx-js/react": "^1.6.22",
|
"@mdx-js/react": "^1.6.22",
|
||||||
"@svgr/webpack": "^5.5.0",
|
"@svgr/webpack": "^5.5.0",
|
||||||
"clsx": "^1.1.1",
|
"clsx": "^1.2.1",
|
||||||
"file-loader": "^6.2.0",
|
"file-loader": "^6.2.0",
|
||||||
"hast-util-is-element": "1.1.0",
|
"hast-util-is-element": "1.1.0",
|
||||||
"mdx-mermaid": "^1.2.2",
|
"mdx-mermaid": "^1.3.2",
|
||||||
"mermaid": "^9.0.0",
|
"mermaid": "^9.1.7",
|
||||||
"prism-react-renderer": "^1.3.1",
|
"prism-react-renderer": "^1.3.5",
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"rehype-katex": "5",
|
"rehype-katex": "5",
|
||||||
"remark-math": "3",
|
"remark-math": "3.0.1",
|
||||||
"url-loader": "^4.1.1"
|
"url-loader": "^4.1.1"
|
||||||
},
|
},
|
||||||
"browserslist": {
|
"browserslist": {
|
||||||
@@ -48,6 +48,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@docusaurus/module-type-aliases": "^2.1.0",
|
||||||
"husky": "^7.0.4",
|
"husky": "^7.0.4",
|
||||||
"markdownlint": "^0.25.1",
|
"markdownlint": "^0.25.1",
|
||||||
"markdownlint-cli2": "^0.4.0"
|
"markdownlint-cli2": "^0.4.0"
|
||||||
|
4402
pnpm-lock.yaml
generated
4402
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -9,6 +9,7 @@
|
|||||||
Create as many sidebars as you want.
|
Create as many sidebars as you want.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
// By default, Docusaurus generates a sidebar from the docs folder structure
|
// By default, Docusaurus generates a sidebar from the docs folder structure
|
||||||
// tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
|
// tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
|
||||||
|
Reference in New Issue
Block a user