Sidebar links don't respect resolve path?
Closed this issue · 1 comments
IMB11 commented
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:
Shouldn't the links be prepended with the resolve path?
Eg: /getting-started/creating-project.html
instead of /creating-project.html
?
IMB11 commented
Closing, I had an incorrect scanPath