Skip to content

Commit 225d3ff

Browse files
committed
Custom sidebar added for doc
1 parent 3d92786 commit 225d3ff

1 file changed

Lines changed: 22 additions & 9 deletions

File tree

sidebars.js

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,36 @@
99
Create as many sidebars as you want.
1010
*/
1111

12-
// @ts-check
12+
// @ts-nocheck
1313

1414
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
1515
const sidebars = {
16-
// By default, Docusaurus generates a sidebar from the docs folder structure
17-
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
1816

19-
// But you can create a sidebar manually
20-
/*
21-
tutorialSidebar: [
17+
docs: [
18+
'home',
19+
'introduction',
20+
'setup',
21+
'quick-start',
2222
{
2323
type: 'category',
24-
label: 'Tutorial',
25-
items: ['hello'],
24+
label: 'Examples',
25+
items: [
26+
'examples/http-examples',
27+
'examples/testcase-examples',
28+
],
29+
},
30+
{
31+
type: 'category',
32+
label: 'References',
33+
items: [
34+
'references/concepts',
35+
'references/version-reference',
36+
'references/variable-reference',
37+
'references/http-reference',
38+
'references/testcase-reference',
39+
],
2640
},
2741
],
28-
*/
2942
};
3043

3144
module.exports = sidebars;

0 commit comments

Comments
 (0)