forked from midwayjs/midway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypedoc.js
66 lines (66 loc) · 1.91 KB
/
typedoc.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
module.exports = {
name: 'Midway Api Reference',
mode: 'modules',
out: 'docs/api-reference/',
theme: './node_modules/typedoc-neo-theme/bin/default',
exclude: ['**/node_modules/**', '**/*.spec.ts', '**/benchmark/**', '**/test/**'],
lernaExclude: [
'midway',
'@midwayjs/runtime-engine',
'@midwayjs/runtime-mock',
'@midwayjs/serverless-aws-starter',
'@midwayjs/serverless-fc-starter',
'@midwayjs/serverless-scf-starter',
'@midwayjs/serverless-http-parser'
],
excludePrivate: true,
readme: 'none',
links: [
{
label: '首页',
url: 'https://midwayjs.org'
},
{
label: 'v2 文档',
url: 'https://www.yuque.com/midwayjs/midway_v2'
}
],
outline: [
{
'Core': {
'@midwayjs/decorator': '_midwayjs_decorator',
'@midwayjs/core': '_midwayjs_core',
'@midwayjs/bootstrap': '_midwayjs_bootstrap'
},
'Framework & Component': {
'@midwayjs/web(EggJS)': '_midwayjs_web',
'@midwayjs/koa': '_midwayjs_koa',
'@midwayjs/express': '_midwayjs_express',
'@midwayjs/grpc': '_midwayjs_grpc',
'@midwayjs/faas': '_midwayjs_faas',
'@midwayjs/serverless-app': '_midwayjs_serverless_app',
'@midwayjs/rabbitmq': '_midwayjs_rabbitmq',
'@midwayjs/socketio': '_midwayjs_socketio',
'@midwayjs/typegoose': '_midwayjs_typegoose',
},
'Utils': {
'@midwayjs/mock': '_midwayjs_mock',
'@midwayjs/logger': '_midwayjs_logger',
'@midwayjs/serverless-fc-trigger': '_midwayjs_serverless_fc_trigger',
'@midwayjs/serverless-scf-trigger': '_midwayjs_serverless_scf_trigger',
'@midwayjs/faas-typings': '_midwayjs_faas_typings',
}
}
],
source: [
{
'path': 'https://github.com/midwayjs/midway/tree/2.x/',
'line': 'L'
}
],
customStyles: [
{
'path': '/api-reference/assets/css/custom.css'
}
]
};