build(config): 🔧 更新路径

This commit is contained in:
李东云
2022-03-10 19:40:49 +08:00
parent 4cd407a88f
commit 5d12f64239

View File

@@ -9,7 +9,7 @@ const config = {
title: "小九馆", title: "小九馆",
tagline: "亲眼去看, 亲耳去听, 亲口讲述", tagline: "亲眼去看, 亲耳去听, 亲口讲述",
url: "https://novoland-developer-network.github.io", url: "https://novoland-developer-network.github.io",
baseUrl: "/BistroWebsite/", baseUrl: "/",
onBrokenLinks: "throw", onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn", onBrokenMarkdownLinks: "warn",
favicon: "img/favicon.ico", favicon: "img/favicon.ico",
@@ -41,103 +41,97 @@ const config = {
themeConfig: themeConfig:
/** @type {import("@docusaurus/preset-classic").ThemeConfig} */ /** @type {import("@docusaurus/preset-classic").ThemeConfig} */
({ ({
navbar: { navbar: {
title: "小九馆(开发中)", title: "小九馆(开发中)",
logo: { logo: {
alt: "bistro Logo", alt: "bistro Logo",
src: "img/logo.svg", src: "img/logo.svg",
},
items: [{
type: "doc",
docId: "intro",
position: "left",
label: "简介",
}, },
items: [ { to: "/blog", label: "开发者说", position: "left" },
{ {
type: "doc", label: "关于我们",
docId: "intro", href: "https://9.doylee.cn/d/6",
position: "left", 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: "简介", label: "简介",
}, to: "/docs/intro",
{ to: "/blog", label: "开发者说", position: "left" }, }],
{ },
label: "关于我们", {
href: "https://9.doylee.cn/d/6", title: "社区",
position: "right", items: [{
}, label: "机巧殿🏗开发者",
{ href: "https://jq.qq.com/?_wv=1027&k=DUMjkk9z",
label: "加入我们", },
href: "https://jq.qq.com/?_wv=1027&k=DUMjkk9z", {
position: "right", label: "龙渊阁❤发光者",
}, href: "https://jq.qq.com/?_wv=1027&k=r4QMdtWt",
{ },
href: "https://github.com/novoland-developer-network/BistroFrontend", {
label: "参与贡献本站", label: "第一群☀热爱者",
position: "right", href: "https://jq.qq.com/?_wv=1027&k=4uT4985q",
}, },
], ],
}, },
footer: { {
style: "dark", title: "汇聚成海",
links: [ items: [{
{ label: "九州第一社区 By 机巧殿",
title: "手册", href: "https://9.doylee.cn/",
items: [ },
{ {
label: "简介", label: "秋叶城故事会 By 龙渊阁",
to: "/docs/intro", href: "https://9zqiuye.wordpress.com/",
}], },
}, ],
{ },
title: "社区", {
items: [ title: "开发相关",
{ items: [{
label: "机巧殿🏗开发者", label: "开发者",
href: "https://jq.qq.com/?_wv=1027&k=DUMjkk9z", to: "/blog",
}, },
{ {
label: "龙渊阁❤发光者", label: "参与贡献 - 本站",
href: "https://jq.qq.com/?_wv=1027&k=r4QMdtWt", href: "https://github.com/novoland-developer-network/BistroWebsite",
}, },
{ {
label: "第一群☀热爱者", label: "参与贡献 - APP",
href: "https://jq.qq.com/?_wv=1027&k=4uT4985q", href: "https://github.com/novoland-developer-network/BistroFrontend",
}, },
], ],
}, },
{ ],
title: "汇聚成海", copyright: `Copyright © ${new Date().getFullYear()} <a href="https://999999999.net.cn" target="_blank">机巧殿</a>荣誉出品`,
items: [ },
{ prism: {
label: "九州第一社区 By 机巧殿", theme: lightCodeTheme,
href: "https://9.doylee.cn/", darkTheme: darkCodeTheme,
}, },
{ }),
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()} <a href="https://999999999.net.cn" target="_blank">机巧殿</a>荣誉出品`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
}),
}; };
module.exports = config; module.exports = config;