Open birdofpreyru opened 3 years ago
I can confirm this is a bug due to the hard-coded paths on the Sidebar.ts, and it can be easily fixed with the additional config like sidebarPrefix
, or automatically detecting it by parsing the outDir
. I should work on it soon :)
It seems, no matter the actual config, the item paths in generated sidebar files always start with
api/
, which works for default paths, but does not work for different paths (e.g. if instead ofapi
sub-folder ofdocs
one want to output mdx files into a separate folder inside Docusaurus project, and configure a separate content plugin instance to handle that folder).