Skip to content

Commit 99adf5a

Browse files
committed
resolve the sidebar error
1 parent b78a44b commit 99adf5a

File tree

1 file changed

+25
-7
lines changed

1 file changed

+25
-7
lines changed

website/sidebars.js

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
/**
22
* Creating a sidebar enables you to:
33
- create an ordered group of docs
4-
- render a "Next" navigation link in the doc footer
5-
- provide a table of contents on the right side of your page
4+
- render a "Next" and "Previous" button for each doc
65
7-
The sidebars can be generated from the filesystem, or explicitly defined here.
8-
9-
Create as many sidebars as you want.
6+
You can create as many sidebars as you want.
107
*/
118

129
// @ts-check
@@ -15,10 +12,31 @@
1512
const sidebars = {
1613
// By default, Docusaurus generates a sidebar from the docs folder structure
1714
tutorialSidebar: [
18-
'introduction',
19-
'executive_summary',
15+
'table-of-contents',
2016
'disclaimer',
17+
'abbreviations',
18+
'executive-summary', // Changed from 'executive_summary' to 'executive-summary'
19+
'introduction',
20+
'chapter-02-approaches-tools',
21+
'chapter-03-project-cycle',
22+
'chapter-04-project-experience',
23+
'conclusion',
24+
'annexes',
25+
'acknowledgements',
26+
],
27+
28+
// But you can create a sidebar manually
29+
/*
30+
tutorialSidebar: [
31+
'intro',
32+
'hello',
33+
{
34+
type: 'category',
35+
label: 'Tutorial',
36+
items: ['tutorial-basics/create-a-document'],
37+
},
2138
],
39+
*/
2240
};
2341

2442
module.exports = sidebars;

0 commit comments

Comments
 (0)