Skip to content

Commit c46ada3

Browse files
author
lucaszhu
committed
upd: sidebar.js
1 parent 6c8b56f commit c46ada3

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

sidebars.js

+7-13
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,13 @@
99
Create as many sidebars as you want.
1010
*/
1111

12-
module.exports = {
12+
// @ts-check
13+
14+
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
15+
const sidebars = {
1316
// By default, Docusaurus generates a sidebar from the docs folder structure
1417
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
15-
// docs: {
16-
// quick_start: [
17-
// 'quick_start',
18-
// {
19-
// type: 'category',
20-
// label: 'Docs',
21-
// collapsible: true,
22-
// collapsed: false,
23-
// items: ['quick_start'],
24-
// },
25-
// ],
26-
// },
18+
2719
// But you can create a sidebar manually
2820
/*
2921
tutorialSidebar: [
@@ -35,3 +27,5 @@ module.exports = {
3527
],
3628
*/
3729
};
30+
31+
module.exports = sidebars;

0 commit comments

Comments
 (0)