mirror of
https://github.com/nonebot/nonebot2.git
synced 2026-07-24 01:03:16 +00:00
🔧 fix stale sidebars reference in docusaurus config
This commit is contained in:
@@ -249,10 +249,9 @@ export default async function createConfigAsync() {
|
|||||||
presets: [
|
presets: [
|
||||||
[
|
[
|
||||||
"@nullbot/docusaurus-preset-nonepress",
|
"@nullbot/docusaurus-preset-nonepress",
|
||||||
/** @type {import('@nullbot/docusaurus-preset-nonepress').Options} */
|
|
||||||
{
|
{
|
||||||
docs: {
|
docs: {
|
||||||
sidebarPath: require.resolve("./sidebars.js"),
|
sidebarPath: require.resolve("./sidebars.ts"),
|
||||||
// Please change this to your repo.
|
// Please change this to your repo.
|
||||||
editUrl: "https://github.com/nonebot/nonebot2/edit/master/website/",
|
editUrl: "https://github.com/nonebot/nonebot2/edit/master/website/",
|
||||||
showLastUpdateAuthor: true,
|
showLastUpdateAuthor: true,
|
||||||
@@ -293,7 +292,7 @@ export default async function createConfigAsync() {
|
|||||||
gtag: {
|
gtag: {
|
||||||
trackingID: "G-MRS1GMZG0F",
|
trackingID: "G-MRS1GMZG0F",
|
||||||
},
|
},
|
||||||
},
|
} satisfies Preset.Options,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user