forked from Genuifx/wxa-doc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
42 lines (39 loc) · 976 Bytes
/
config.js
File metadata and controls
42 lines (39 loc) · 976 Bytes
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
var langs = [
{title: 'English', path: '/lang/english/'},
{title: '简体中文', path: '/home'}
]
var $config = {
landing: true,
debug: true,
repo: 'Genuifx/wxa',
twitter: 'zetianwen',
nav: {
default: [
{title: '首页', path: '/home'},
{title: '核心', path: '/core'},
{title: '命令行工具', path: '/cli'},
{
title: '语言', type: 'dropdown', items: langs
}
],
english: [
{title: 'Home', path: '/lang/english/'},
{title: 'Core', path: '/lang/english/core'},
{title: 'Cli', path: '/lang/english/cli'},
{
title: '语言', type: 'dropdown', items: langs
}
]
},
plugins: [
// evanyou(),
disqus({
shortname: 'wxa'
})
]
}
docute.init($config)
// var doc = new Docute({
// $config
// });
// doc.start('#app')