forked from smooth-code/smooth-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdoczrc.js
47 lines (44 loc) Β· 1.11 KB
/
doczrc.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
import * as path from 'path'
import externalLinks from 'remark-external-links'
const modifyBundlerConfig = config => {
config.resolve.alias = Object.assign({}, config.resolve.alias, {
'@smooth-ui': path.resolve(__dirname, 'packages'),
'@docs': path.resolve(__dirname, 'docs'),
})
return config
}
export default {
debug: true,
title: 'Smooth UI',
description: 'Modern UI library for React',
repository: 'https://github.com/smooth-code/smooth-ui',
indexHtml: 'docs/index.html',
ordering: 'ascending',
propsParser: false,
mdPlugins: [externalLinks.default],
modifyBundlerConfig,
wrapper: 'docs/config/Wrapper.js',
codeSandbox: false,
menu: [
'Home',
'Getting Started',
'Basics',
'System',
'Advanced',
'Components',
'Utilities',
'Compatibility',
],
themeConfig: {
repository: 'https://github.com/smooth-code/smooth-ui',
colors: {
primary: '#bd4932',
link: '#bd4932',
},
logo: {
src:
'https://raw.githubusercontent.com/smooth-code/smooth-ui/master/resources/smooth-ui-logo-horizontal.png',
width: 200,
},
},
}