Skip to content

Commit 415d81a

Browse files
committed
Fix broken menu in the docs
This commit fixes the menus in the docs, both the broken links of the /code path and preserving the right order in the /guide path
1 parent 44013a9 commit 415d81a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/.vitepress/config.mts

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ const getSideBar = (): any => {
1212
useTitleFromFileHeading: true,
1313
hyphenToSpace: true,
1414
keepMarkdownSyntaxFromTitle: true,
15-
sortMenusByFrontmatterOrder: true,
1615
manualSortFileNameByPriority: [ "installation.md", "authentication.md", "final.md" , 'Advanced']
1716
},
1817
{
1918
documentRootPath: "docs",
20-
//scanStartPath: 'api',
19+
scanStartPath: "code",
20+
resolvePath: "/code/",
2121
useTitleFromFileHeading: true,
2222
hyphenToSpace: true,
2323
keepMarkdownSyntaxFromTitle: true,

0 commit comments

Comments
 (0)