Skip to content

Commit 68c24ba

Browse files
author
Marc Jakobi
committed
fix: navbar
1 parent 867bcd8 commit 68c24ba

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docusaurus.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ const config: Config = {
6565
},
6666
{
6767
type: 'docSidebar',
68-
sidebarId: 'tutorialSidebar',
68+
sidebarId: 'guidesSidebar',
6969
position: 'left',
7070
label: 'Guides',
7171
},
7272
{
7373
type: 'docSidebar',
74-
sidebarId: 'tutorialSidebar',
74+
sidebarId: 'explanationsSidebar',
7575
position: 'left',
7676
label: 'Explanations',
7777
},

sidebars.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
1414
*/
1515
const sidebars: SidebarsConfig = {
1616
// By default, Docusaurus generates a sidebar from the docs folder structure
17-
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
17+
tutorialSidebar: [{type: 'autogenerated', dirName: 'tutorial'}],
18+
guidesSidebar: [{type: 'autogenerated', dirName: 'guides'}],
19+
explanationsSidebar: [{type: 'autogenerated', dirName: 'explanations'}],
1820

1921
// But you can create a sidebar manually
2022
/*

0 commit comments

Comments
 (0)