With Docusaurus sidebars.js can be specified like this:
module.exports = {
docs: [
{
type: 'category',
label: 'Docs',
items: [
{
type: 'category',
label: 'Widgets',
items:
[
'widgets/getting-started',
'widgets/create-a-page',
'widgets/create-a-document',
'widgets/create-a-blog-post',
'widgets/markdown-features',
'widgets/thank-you',
],
},
{
type: 'category',
label: 'Next category',
items:
[
'next/getting-started'
]
}
]
},
],
};
This means I need to put every file I create into the sidemenu.js. Is it possible to just put a wildcard, such as *.* and just dynamically read all files in a folder?