Skip to content

Commit 72394cc

Browse files
author
Marc Jakobi
committed
fix: navbar
1 parent 867bcd8 commit 72394cc

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

docusaurus.config.ts

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -59,25 +59,13 @@ const config: Config = {
5959
items: [
6060
{
6161
type: 'docSidebar',
62-
sidebarId: 'tutorialSidebar',
62+
sidebarId: 'documentationSidebar',
6363
position: 'left',
64-
label: 'Tutorial',
65-
},
66-
{
67-
type: 'docSidebar',
68-
sidebarId: 'tutorialSidebar',
69-
position: 'left',
70-
label: 'Guides',
71-
},
72-
{
73-
type: 'docSidebar',
74-
sidebarId: 'tutorialSidebar',
75-
position: 'left',
76-
label: 'Explanations',
64+
label: 'Documentation',
7765
},
7866
{
7967
href: 'https://github.com/lumen-oss/lux',
80-
label: 'GitHub',
68+
label: 'Source code',
8169
position: 'right',
8270
},
8371
],

sidebars.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ 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+
documentationSidebar: [{type: 'autogenerated', dirName: '.'}],
1818

1919
// But you can create a sidebar manually
2020
/*

0 commit comments

Comments
 (0)