Skip to content

Commit

Permalink
Collapse styleguidist navigation by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Sep 7, 2020
1 parent 44880d2 commit 97573bf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions styleguidist/styleguide.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,11 @@ module.exports = {
* @default "./styleguide"
*/
styleguideDir: "./frontend-docs",

/**
* Defines if the table of contents sections will behave like an accordion.
* @type {string} "collapse" | "expand"
* @default "expand"
*/
tocMode: "collapse",
}

0 comments on commit 97573bf

Please sign in to comment.