Skip to content

Commit e8a9004

Browse files
committed
fix(sidebar): add manual sorting for sidebar file names
1 parent e9fe3d3 commit e8a9004

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/.vitepress/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ const commonVitePressSidebarConfig = {
8282
useTitleFromFrontmatter: true,
8383
useFolderTitleFromIndexFile: true,
8484
sortMenusByFrontmatterOrder: true,
85+
manualSortFileNameByPriority: ["about", "guide", "components"],
8586
};
8687

8788
const vitePressSidebarConfigs = supportedLocales.map((lang) => ({

0 commit comments

Comments
 (0)