Skip to content

Commit

Permalink
Auto collapse categories when new one is selected (#4003)
Browse files Browse the repository at this point in the history
## What are you changing in this pull request and why?

Adding a feature that auto-collapses a category on the sidebar when a
new category at the same level is opened.

## Checklist
- [x] Review the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md)
and [About
versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version)
so my content adheres to these guidelines.
- [x] Add a checklist item for anything that needs to happen before this
PR is merged, such as "needs technical review" or "change base branch."
  • Loading branch information
matthewshaver authored Aug 31, 2023
2 parents c833748 + 6bd23db commit 6553694
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ var siteSettings = {
docs:{
sidebar: {
hideable: true,
autoCollapseCategories: true,
},
},
image: "/img/avatar.png",
Expand Down

0 comments on commit 6553694

Please sign in to comment.