Skip to content

Commit

Permalink
add all docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tothero committed Jun 11, 2024
1 parent 2efc3a5 commit 979b804
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 979b804

Please sign in to comment.