File tree Expand file tree Collapse file tree 1 file changed +7
-25
lines changed Expand file tree Collapse file tree 1 file changed +7
-25
lines changed Original file line number Diff line number Diff line change 1- import type { SidebarsConfig } from '@docusaurus/plugin-content-docs' ;
1+ import type { SidebarsConfig } from '@docusaurus/plugin-content-docs' ;
22
3- /**
4- * Creating a sidebar enables you to:
5- - create an ordered group of docs
6- - render a sidebar for each doc of that group
7- - provide next/previous navigation
8-
9- The sidebars can be generated from the filesystem, or explicitly defined here.
10-
11- Create as many sidebars as you want.
12- */
133const sidebars : SidebarsConfig = {
14- // By default, Docusaurus generates a sidebar from the docs folder structure
15- tutorialSidebar : [ { type : 'autogenerated' , dirName : '.' } ] ,
16-
17- // But you can create a sidebar manually
18- /*
19- tutorialSidebar: [
20- 'intro',
21- 'hello',
22- {
23- type: 'category',
24- label: 'Tutorial',
25- items: ['tutorial-basics/create-a-document'],
26- },
4+ docSidebar : [
5+ 'install' ,
6+ 'usage' ,
7+ 'vendors' ,
8+ { type : 'doc' , label : 'JDKs' , id : 'jdks' } ,
9+ { type : 'doc' , label : 'SDKs' , id : 'sdks' } ,
2710 ] ,
28- */
2911} ;
3012
3113export default sidebars ;
You can’t perform that action at this time.
0 commit comments