obsidian tags to docusaurus map
So, after processing, we'll have this key: id, value: {name: doc name, tags: (all, including nested)}
You can, however, use the
sidebar_labelMarkdown front matter within that doc, which has higher precedence over thelabelkey in the sidebar item.
So why not simply create the sidebars from here without changing anything else:
Generated index page You can auto-generate an index page that displays We don't need the abocve these > distractions
Shorthand for docs inside category: (Guides, Docs are categ., green small names are docs)
export default {
docs: {
Guides: [
'creating-pages',
{
Docs: ['introduction', 'sidebar', 'markdown-features', 'versioning'],
},
],
},
};
Reference: