From 415d81a1c1ef9eaf51dff29b25865048a44a9e5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavi=20Magrinya=CC=80?= Date: Fri, 1 Mar 2024 13:51:00 +0200 Subject: [PATCH] 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 --- docs/.vitepress/config.mts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 38d6dcdf..01b0f61a 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -12,12 +12,12 @@ const getSideBar = (): any => { useTitleFromFileHeading: true, hyphenToSpace: true, keepMarkdownSyntaxFromTitle: true, - sortMenusByFrontmatterOrder: true, manualSortFileNameByPriority: [ "installation.md", "authentication.md", "final.md" , 'Advanced'] }, { documentRootPath: "docs", - //scanStartPath: 'api', + scanStartPath: "code", + resolvePath: "/code/", useTitleFromFileHeading: true, hyphenToSpace: true, keepMarkdownSyntaxFromTitle: true,