-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyleguide.config.js
More file actions
76 lines (75 loc) · 1.83 KB
/
Copy pathstyleguide.config.js
File metadata and controls
76 lines (75 loc) · 1.83 KB
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
72
73
74
75
76
const path = require('path')
const npmPackage = require('./package.json')
module.exports = {
defaultExample: false,
pagePerSection: true,
title: 'Sedona Vue Components',
version: `v${npmPackage.version}`,
usageMode: 'expand',
require: [
path.join(__dirname, 'src/assets/less/index.less'),
path.join(__dirname, 'router-mock.js'),
],
styles: {
Logo: {
logo: {
color: '#fff',
fontSize: 24,
},
},
},
template: {
head: {
links: [
{
href: 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons',
rel: 'stylesheet',
},
],
},
},
serverPort: 3000,
theme: {
fontFamily: {
monospace: ['Menlo', 'Consolas', '"Liberation Mono"', 'monospace'],
},
color: {
link: '#fff',
sidebarBackground: '#009688',
},
sidebarWidth: 250,
maxWidth: '1000px',
},
sections: [
{
name: 'Introduction',
content: 'docs/introduction.md',
},
{
name: 'Layout',
description: 'Layout description',
content: 'docs/layout.md',
components: ['./src/components/Page/Page.js', './src/components/Scene/Scene.js'],
sectionDepth: 1,
sections: [
{
name: 'Grid',
description: 'Grid layout component ',
components: ['./src/components/Grid/Grid.js', './src/components/Grid/GridItem.js'],
},
],
},
{
name: 'UI Components',
content: 'docs/ui.md',
components: ['./src/components/**/[A-Z]*.vue', './src/components/**/[A-Z]*.js', './src/components/**/[A-Z]*.jsx'],
sectionDepth: 1,
ignore: [
'./src/components/Page/Page.js',
'./src/components/Grid/Grid.js',
'./src/components/Grid/GridItem.js',
'./src/components/Scene/Scene.js',
],
},
],
}