Skip to content

Commit

Permalink
Merge pull request #277 from himanshu-03/275-adding-collapsible-sidebar
Browse files Browse the repository at this point in the history
Added Collapsible Sidebar Functionality
  • Loading branch information
iruzevic authored Oct 6, 2023
2 parents ff36906 + da5c9b1 commit fe14c02
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = {
}
],
themeConfig: {

navbar: {
logo: {
alt: 'Eightshift DevKit Logo',
Expand Down Expand Up @@ -115,6 +116,11 @@ module.exports = {
disableSwitch: true,
respectPrefersColorScheme: false,
},
docs: {
sidebar: {
autoCollapseCategories: true,
}
},
trailingSlash: false
},
presets: [
Expand All @@ -123,6 +129,7 @@ module.exports = {
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
sidebarCollapsible: true,
},
gtag: {
trackingID: 'GTM-P5GG5DH',
Expand Down

0 comments on commit fe14c02

Please sign in to comment.