forked from jupyterlab/jupyterlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
typedoc.js
129 lines (123 loc) · 2.65 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
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
const fs = require('fs');
const packages = [
// 'application-extension',
'application',
'apputils-extension',
'apputils',
'attachments',
'cells',
'celltags-extension',
'celltags',
'codeeditor',
'codemirror-extension',
'codemirror',
'completer-extension',
'completer',
'console-extension',
'console',
'coreutils',
'csvviewer-extension',
'csvviewer',
'debugger-extension',
'debugger',
'docprovider-extension',
'docprovider',
'docmanager-extension',
'docmanager',
'docregistry',
'documentsearch-extension',
'documentsearch',
'extensionmanager-extension',
'extensionmanager',
'filebrowser-extension',
'filebrowser',
'fileeditor-extension',
'fileeditor',
'help-extension',
'htmlviewer-extension',
'htmlviewer',
'hub-extension',
'imageviewer-extension',
'imageviewer',
'inspector-extension',
'inspector',
'javascript-extension',
'json-extension',
'launcher-extension',
'launcher',
'logconsole-extension',
'logconsole',
'mainmenu-extension',
'mainmenu',
'markdownviewer-extension',
'markdownviewer',
'mathjax2-extension',
'mathjax2',
// 'metapackage',
// 'nbconvert-css',
'nbformat',
'notebook-extension',
'notebook',
'observables',
'outputarea',
'pdf-extension',
'property-inspector',
'rendermime-extension',
'rendermime-interfaces',
'rendermime',
'running-extension',
'running',
'services',
'settingeditor-extension',
'settingeditor',
'settingregistry',
'shared-models',
'shortcuts-extension',
'statedb',
'statusbar-extension',
'statusbar',
'terminal-extension',
'terminal',
'theme-dark-extension',
'theme-light-extension',
'toc',
'toc-extension',
'tooltip-extension',
'tooltip',
'translation-extension',
'translation',
'ui-components-extension',
'ui-components',
'vdom-extension',
'vdom',
'vega5-extension'
];
const entryPoints = packages
.flatMap(p => [`packages/${p}/src/index.ts`, `packages/${p}/src/index.tsx`])
.filter(function (path) {
return fs.existsSync(path);
});
const exclude =
packages.flatMap(p => [`packages/${p}/test`]) +
[
'packages/application-extension/src/index.tsx',
'ui-tests/**/*'
//'packages/*/test/*.spec.ts',
];
module.exports = {
entryPoints,
exclude,
name: '@jupyterlab',
out: 'docs/api',
// json: 'docs/api.json',
readme: 'README.md',
theme: 'typedoc-theme',
tsconfig: 'tsconfigdoc.json'
// theme: minimal,
// excludePrivate: true,
// excludeProtected: true,
// excludeExternals: true,
// hideGenerator: true
// gitRevision: 'master',
// 'sourcefile-url-prefix': `https://github.com/sinnerschrader/feature-hub/tree/${git.short()}/packages/`,
};