diff --git a/docusaurus.config.js b/docusaurus.config.js index e5655ce..5d6cdc5 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -9,13 +9,13 @@ const config = { title: "小九馆", tagline: "亲眼去看, 亲耳去听, 亲口讲述", url: "https://novoland-developer-network.github.io", - baseUrl: "/BistroWebsite/", + baseUrl: "/", onBrokenLinks: "throw", onBrokenMarkdownLinks: "warn", favicon: "img/favicon.ico", organizationName: "novoland-developer-network", // Usually your GitHub org/user name. projectName: "BistroWebsite", // Usually your repo name. - + presets: [ [ "classic", @@ -37,107 +37,101 @@ const config = { }), ], ], - + themeConfig: /** @type {import("@docusaurus/preset-classic").ThemeConfig} */ ({ - navbar: { - title: "小九馆(开发中)", - logo: { - alt: "bistro Logo", - src: "img/logo.svg", + navbar: { + title: "小九馆(开发中)", + logo: { + alt: "bistro Logo", + src: "img/logo.svg", + }, + items: [{ + type: "doc", + docId: "intro", + position: "left", + label: "简介", }, - items: [ - { - type: "doc", - docId: "intro", - position: "left", + { to: "/blog", label: "开发者说", position: "left" }, + { + label: "关于我们", + href: "https://9.doylee.cn/d/6", + position: "right", + }, + { + label: "加入我们", + href: "https://jq.qq.com/?_wv=1027&k=DUMjkk9z", + position: "right", + }, + { + href: "https://github.com/novoland-developer-network/BistroFrontend", + label: "参与贡献本站", + position: "right", + }, + ], + }, + footer: { + style: "dark", + links: [{ + title: "手册", + items: [{ label: "简介", - }, - { to: "/blog", label: "开发者说", position: "left" }, - { - label: "关于我们", - href: "https://9.doylee.cn/d/6", - position: "right", - }, - { - label: "加入我们", - href: "https://jq.qq.com/?_wv=1027&k=DUMjkk9z", - position: "right", - }, - { - href: "https://github.com/novoland-developer-network/BistroFrontend", - label: "参与贡献本站", - position: "right", - }, - ], - }, - footer: { - style: "dark", - links: [ - { - title: "手册", - items: [ - { - label: "简介", - to: "/docs/intro", - }], - }, - { - title: "社区", - items: [ - { - label: "机巧殿🏗开发者", - href: "https://jq.qq.com/?_wv=1027&k=DUMjkk9z", - }, - { - label: "龙渊阁❤发光者", - href: "https://jq.qq.com/?_wv=1027&k=r4QMdtWt", - }, - { - label: "第一群☀热爱者", - href: "https://jq.qq.com/?_wv=1027&k=4uT4985q", - }, - ], - }, - { - title: "汇聚成海", - items: [ - { - label: "九州第一社区 By 机巧殿", - href: "https://9.doylee.cn/", - }, - { - label: "秋叶城故事会 By 龙渊阁", - href: "https://9zqiuye.wordpress.com/", - }, - ], - }, - { - title: "开发相关", - items: [ - { - label: "开发者说", - to: "/blog", - }, - { - label: "参与贡献 - 本站", - href: "https://github.com/novoland-developer-network/BistroWebsite", - }, - { - label: "参与贡献 - APP", - href: "https://github.com/novoland-developer-network/BistroFrontend", - }, - ], - }, - ], - copyright: `Copyright © ${new Date().getFullYear()} 机巧殿荣誉出品`, - }, - prism: { - theme: lightCodeTheme, - darkTheme: darkCodeTheme, - }, - }), + to: "/docs/intro", + }], + }, + { + title: "社区", + items: [{ + label: "机巧殿🏗开发者", + href: "https://jq.qq.com/?_wv=1027&k=DUMjkk9z", + }, + { + label: "龙渊阁❤发光者", + href: "https://jq.qq.com/?_wv=1027&k=r4QMdtWt", + }, + { + label: "第一群☀热爱者", + href: "https://jq.qq.com/?_wv=1027&k=4uT4985q", + }, + ], + }, + { + title: "汇聚成海", + items: [{ + label: "九州第一社区 By 机巧殿", + href: "https://9.doylee.cn/", + }, + { + label: "秋叶城故事会 By 龙渊阁", + href: "https://9zqiuye.wordpress.com/", + }, + ], + }, + { + title: "开发相关", + items: [{ + label: "开发者说", + to: "/blog", + }, + { + label: "参与贡献 - 本站", + href: "https://github.com/novoland-developer-network/BistroWebsite", + }, + { + label: "参与贡献 - APP", + href: "https://github.com/novoland-developer-network/BistroFrontend", + }, + ], + }, + ], + copyright: `Copyright © ${new Date().getFullYear()} 机巧殿荣誉出品`, + }, + prism: { + theme: lightCodeTheme, + darkTheme: darkCodeTheme, + }, + }), }; -module.exports = config; +module.exports = config; \ No newline at end of file