Skip to content

Commit

Permalink
Auto-collapsible sidebar (#629)
Browse files Browse the repository at this point in the history
  • Loading branch information
ereburg committed Feb 20, 2024
1 parent 04266e3 commit 8e16e2a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ If you want to run with your locale, please use below commands
yarn start --locale <locale>
```

For example, if you want run Chinese version, please run `yarn start --locale zh-cn`.
For example, if you want to run Chinese version, please run `yarn start --locale zh-cn`.

## Contribute

Expand Down
8 changes: 7 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import redirects from './redirects.json';
import remarkMath from 'remark-math';
import rehypeKatex from 'rehype-katex';

/** @type {import('@docusaurus/types').Config} */
export default {
title: 'Gear Documentation Portal',
tagline: 'The place to start developing with Gear',
Expand Down Expand Up @@ -76,7 +77,12 @@ export default {
contextualSearch: true,
searchParameters: {},
searchPagePath: 'search',
}
},
docs: {
sidebar: {
autoCollapseCategories: true,
},
},
},
plugins: [
'docusaurus-plugin-sass',
Expand Down

0 comments on commit 8e16e2a

Please sign in to comment.