diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 417e75ee..aacf9b09 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -87,12 +87,19 @@ const config: Config = { position: 'left', label: 'IoT Platform', }, + { type: 'docSidebar', sidebarId: 'knowledgeBaseSidebar', position: 'right', label: 'Knowledge Base', }, + { + type: 'docSidebar', + sidebarId: 'allDocSidebar', + position: 'right', + label: 'All Docs', + }, /* {to: '/blog', label: 'Blog', position: 'left'},*/ { href: 'https://github.com/lobaro/iot', diff --git a/sidebars.ts b/sidebars.ts index 6bcfee78..da2e7ca3 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -15,7 +15,7 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs'; const sidebars: SidebarsConfig = { // By default, Docusaurus generates a sidebar from the docs folder structure knowledgeBaseSidebar: [{type: 'autogenerated', dirName: 'knowledge-base'}], - //productsSidebar: [{type: 'autogenerated', dirName: '.'}], + allDocSidebar: [{type: 'autogenerated', dirName: '.'}], productsSidebar: [ { type: 'category',