forked from GitbookIO/theme-default
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
179 lines (179 loc) · 5.1 KB
/
package.json
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "gitbook-plugin-theme-cuav",
"description": "CUAV theme for GitBook",
"keywords": [
"cuav",
"gitbook",
"theme"
],
"main": "./index.js",
"version": "1.1.5",
"engines": {
"gitbook": ">=3.0.0"
},
"dependencies": {},
"devDependencies": {
"browserify": "13.1.0",
"eslint": "3.6.1",
"font-awesome": "4.6.3",
"preboot": "git+https://github.com/mdo/preboot.git#4aab4edd85f076d50609cbe28e4fe66cc0771701",
"gitbook-logos": "git+https://github.com/GitbookIO/logos.git#2.0.2",
"gitbook-markdown-css": "1.0.1",
"jquery": "3.1.1",
"less": "2.7.1",
"less-plugin-clean-css": "1.5.1",
"mousetrap": "1.6.0",
"uglify-js": "2.7.3",
"node-sass": "4.5.0"
},
"scripts": {
"prepublish": "./src/build.sh"
},
"repository": {
"type": "git",
"url": "https://github.com/cuav/gitbook-plugin-theme-cuav.git"
},
"author": "黄伟枞. <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/cuav/gitbook-plugin-theme-cuav/issues"
},
"contributors": [
{
"name": "Weicong Huang",
"email": "[email protected]"
}
],
"gitbook": {
"properties": {
"styles": {
"type": "object",
"title": "Custom Stylesheets",
"properties": {
"website": {
"title": "Stylesheet for website output",
"default": "styles/website.css"
},
"pdf": {
"title": "Stylesheet for PDF output",
"default": "styles/pdf.css"
},
"epub": {
"title": "Stylesheet for ePub output",
"default": "styles/epub.css"
},
"mobi": {
"title": "Stylesheet for Mobi output",
"default": "styles/mobi.css"
},
"ebook": {
"title": "Stylesheet for ebook outputs (PDF, ePub, Mobi)",
"default": "styles/ebook.css"
},
"print": {
"title": "Stylesheet to replace default ebook css",
"default": "styles/print.css"
}
}
},
"showLevel": {
"type": "boolean",
"title": "Show level indicator in TOC",
"default": false
},
"useGitbookIcon": {
"type": "boolean",
"title": "使用 GitBook 默认的网站 icon",
"default": false
},
"iconPath": {
"type": "string",
"title": "使用本地的 icon 图标作为网站的图标"
},
"showGitBookLink": {
"type": "boolean",
"title": "在目录底部显示 GitBook 的链接",
"default": true
},
"navbar": {
"type": "object",
"title": "导航栏配置",
"properties": {
"brand": {
"type": "object",
"title": "logo 配置",
"properties": {
"url": {
"type": "string",
"title": "点击图片跳转链接",
"default": "javascript:;"
},
"logo": {
"type": "object",
"title": "logo 图片信息",
"properties": {
"alt": {
"type": "string",
"title": "图片不存在是显示的信息"
},
"url": {
"type": "string",
"title": "网络图片路径"
},
"path": {
"type": "string",
"title": "本地图片路径"
}
}
}
}
},
"nav": {
"type": "object",
"title": "导航栏菜单",
"properties": {
"items": {
"type": "array",
"title": "菜单项",
"peoperties": {
"name": {
"type": "string",
"title": "一级菜单显示名称"
},
"url": {
"type": "string",
"title": "点击跳转链接,有二级菜单时无效",
"default": "javascript:;"
},
"links": {
"type": "array",
"title": "二级菜单,如果添加此属性,则表示拥有二级菜单",
"properties": {
"name": {
"type": "string",
"title": "二级菜单显示名称"
},
"url": {
"type": "string",
"title": "点击跳转链接",
"default": "javascript:;"
}
}
}
}
}
}
},
"navAjaxUrl": {
"type": "string",
"title": "Ajax 获取 nav 配置的 url,生成顶部下拉菜单"
},
"footer": {
"title": "页脚设置,可以用 html 语法",
"type": "string"
}
}
}
}
}
}