forked from zhh77/smartDoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocConfig.js
44 lines (38 loc) · 1.07 KB
/
docConfig.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
module.exports = {
//扫描的文件路径
paths: ['input/code/'],
demoDir:"input/demo/",
//文档页面输出路径
outdir: 'doc/',
//内置主题
// theme:'ui',
//自定义主题目录
//themedir: 'theme-smart-ui/',
//项目信息配置
project: {
//项目名称
name: 'SmartDoc',
//项目描述,可以配置html,会生成到document主页
// description: '<h2>SmartDoc</h2> <p>Javascript Document builder base on YUIDoc.</p>',
//版本信息
version: '1.1.0',
//地址信息
url: 'https://github.com/zhh77/smartdoc',
//导航信息
navs: [{
name: "Home",
url: "https://github.com/zhh77/smartdoc"
}, {
name: "Document",
url: "/"
}, {
name: "About",
url: "https://github.com/zhh77/smartdoc"
}]
},
//demo页面需要加载的js库
demo: {
paths : ['input/code/ui/uicode.js'],
link : ['http://code.jquery.com/jquery-1.11.0.min.js']
}
};