-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbedrock.config.js
71 lines (70 loc) · 1.57 KB
/
bedrock.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/**
* Bedrock configuration
* For docs, see https://bedrockapp.org/documentation/configuration/
*/
module.exports = {
/**
* Styleguide generation: existence of this section
* determines whether the styleguide gets generated
*/
styleguide: {
/**
* snippetLanguage {html, pug}
* Determines language of code snippets in styleguide
*/
snippetLanguage: 'pug',
/**
* Path to colors SCSS
* We use regexes to parse this file to show the colors in styleguide
*/
colors: './content/scss/_s-colors.scss',
/**
* categoryOrder
* Determines the order of documentation categories
*/
categoryOrder: [
'Basics',
'Design patterns',
'Components'
],
/**
* componentCategories
* The prefix on folder names in /components determines the category
*/
componentCategories: {
aov: 'Overviews',
c: 'Components',
o: 'Objects',
u: 'Utilities',
}
},
/**
* Icons
* Set up whether Bedrock should generate icon fonts
* Set up CSS classnames for SVG icons and icon font
*/
icons: {
generateIconFont: false,
iconFontPath: "./content/scss/_icon-font.scss",
svgIconClassPrefix: 'o-svg-icon',
iconFontClassPrefix: 'if'
},
/**
* Pug config
* Unlikely that you need to change this
*/
pug: {
pretty: true,
basedir: "./content"
},
/**
* Prettify config
* Unlikely that you need to change this
*/
prettify: {
logSuccess: false,
indentSize: 2,
unformatted: ['pre', 'textarea'],
extraLiners: ['body']
},
};