Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add sidebar plugin #213

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/sidebars.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- folder1:
- Parent Folder One # First element is the title of parent, next elements are sub directories
- subfolder1: Sub Folder One
- subfolder2: Sub Folder Two
- subfolder3: false # Hide it!

- folder2:
- Parent Folder Two # First element is the title
- subfolder1: Sub Folder One
- subfolder2: Sub Folder Two
3 changes: 3 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ const config = {
],
},
],
[
"@docusaurus/plugin-auto-sidebars",
],
],
};

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"@docusaurus/preset-classic": "^2.3.1",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.1.1",
"docusaurus-plugin-auto-sidebars": "^1.0.7",
"globby": "^13.1.3",
"prism-react-renderer": "^1.3.1",
"react": "^17.0.2",
Expand Down
Empty file added sidebars.auto.js
Empty file.
Loading
Loading