Closed IMB11 closed 9 months ago
My config:
sidebar: { '/getting-started': generateSidebar({ documentRootPath: '/', useTitleFromFrontmatter: true, scanStartPath: "getting-started", resolvePath: "/getting-started", sortMenusByFrontmatterOrder: true, hyphenToSpace: true, includeFolderIndexFile: true, includeRootIndexFile: true, rootGroupText: 'Getting Started', rootGroupCollapsed: false }) },
File structure:
Links:
Shouldn't the links be prepended with the resolve path?
Eg: /getting-started/creating-project.html instead of /creating-project.html?
/getting-started/creating-project.html
/creating-project.html
Closing, I had an incorrect scanPath
My config:
File structure:
Links:![image](https://github.com/jooy2/vitepress-sidebar/assets/93472213/42dc83c5-adac-488f-902e-323c9041c665)
Shouldn't the links be prepended with the resolve path?
Eg:
/getting-started/creating-project.html
instead of/creating-project.html
?