mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-16 02:50:48 +00:00
📝 Docs: Changelog 按页码挂载 route (#3100)
This commit is contained in:
@ -146,9 +146,7 @@ const sidebars: SidebarsConfig = {
|
||||
(chunk, index) => ({
|
||||
type: "link",
|
||||
label: chunk[0]!.title,
|
||||
href: `/changelog/${
|
||||
index > 0 ? encodeURIComponent(chunk[0]!.title) : ""
|
||||
}`,
|
||||
href: `/changelog/${index > 0 ? index.toString() : ""}`,
|
||||
})
|
||||
),
|
||||
},
|
||||
|
Reference in New Issue
Block a user