-
Notifications
You must be signed in to change notification settings - Fork 1
/
options.js
executable file
·37 lines (31 loc) · 1.01 KB
/
options.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
// User options for overriding core options.js
module.exports = {
// Restart the app after changing core (back-end) options
// Core options could be only redefined from user/options.js, context options are not supported
core: {
processMd: {
languageRenderers: {
jsx: require('sourcejs-react-styleguidist/core/lang-jsx').processExample
}
}
},
// Page rendering configuration (redefinable from context options)
rendering: {},
// Client-side options (redefinable from context options)
assets: {
modulesEnabled : {
// Overriding example
// trimSpaces: true
},
modulesOptions : {
// Modules options example
// navHighlight: {
// updateHash: false
// }
},
// Legacy options object support for some older plugins
pluginsOptions: {}
},
// External plugins options (are also exposed to client-side
plugins: {}
};