Skip to content

Commit

Permalink
Set styleguidist output directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Sep 7, 2020
1 parent 5059fd0 commit bbc70d6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion styleguidist/styleguide.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,14 @@ module.exports = {
const name = path.basename(componentPath, '.js')
const dir = path.dirname(componentPath)
return `import ${name} from '${dir}/';`
}
},

/**
* Path to output directory for styleguidist build.
* Relative to styleguidist config file.
* @type {string}
* @example "./frontend-docs" // webqueue2/styleguidist/frontend-docs
* @default "./styleguide"
*/
styleguideDir: "./frontend-docs",
}

0 comments on commit bbc70d6

Please sign in to comment.