diff --git a/docs/hw-products/_category_.json b/docs/hw-products/_category_.json index a5cb9b2d..57d8ab74 100644 --- a/docs/hw-products/_category_.json +++ b/docs/hw-products/_category_.json @@ -1,7 +1,6 @@ { "label": "Hardware Products", - "position": 1, - "collapsed": true, + "position": 2, "link": { "type": "generated-index", "description": "Lobaro IoT Hardware" diff --git a/docs/knowledge-base/_category_.json b/docs/knowledge-base/_category_.json index ca260e0a..117d3a09 100644 --- a/docs/knowledge-base/_category_.json +++ b/docs/knowledge-base/_category_.json @@ -1,6 +1,7 @@ { "label": "Knowledge Base", "position": 1, + "collapsed": true, "link": { "type": "generated-index", "description": "Knowledge Base related to Lobaro Products" diff --git a/docs/knowledge-base/intro.md b/docs/knowledge-base/tobi.md similarity index 97% rename from docs/knowledge-base/intro.md rename to docs/knowledge-base/tobi.md index 646d4408..0d31ff80 100644 --- a/docs/knowledge-base/intro.md +++ b/docs/knowledge-base/tobi.md @@ -1,7 +1,7 @@ --- -sidebar_position: 3 +sidebar_position: 1 --- - +# Knowledge base
> Some notable things in a block quote!
diff --git a/docs/platform/_category_.json b/docs/platform/_category_.json index 40cbb1cd..2e07fd8d 100644 --- a/docs/platform/_category_.json +++ b/docs/platform/_category_.json @@ -1,6 +1,6 @@ { "label": "Lobaro Platform", - "position": 2, + "position": 3, "collapsed": true, "link": { "type": "generated-index", diff --git a/docusaurus.config.ts b/docusaurus.config.ts index aacf9b09..cc55a22f 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -87,7 +87,6 @@ const config: Config = { position: 'left', label: 'IoT Platform', }, - { type: 'docSidebar', sidebarId: 'knowledgeBaseSidebar', diff --git a/sidebars.ts b/sidebars.ts index da2e7ca3..1bcb884a 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -14,8 +14,8 @@ 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'}], allDocSidebar: [{type: 'autogenerated', dirName: '.'}], + productsSidebar: [ { type: 'category', @@ -32,6 +32,7 @@ const sidebars: SidebarsConfig = { ], }, ], + wmbusGwSidebar: [ { type: 'category', @@ -41,6 +42,7 @@ const sidebars: SidebarsConfig = { ], }, ], + platformSidebar: [ { type: 'category', @@ -51,6 +53,16 @@ const sidebars: SidebarsConfig = { }, ], + knowledgeBaseSidebar: [ + { + type: 'category', + label: 'Knowledge Base', + items: [ + {type: 'autogenerated', dirName: 'knowledge-base'}, + ], + }, + ], + // But you can create a sidebar manually /* tutorialSidebar: [