forked from jupyterlab/jupyterlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
typedoc.js
114 lines (109 loc) · 2.33 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
/*
* Copyright (c) Jupyter Development Team.
* Distributed under the terms of the Modified BSD License.
*/
const fs = require('fs');
const packages = [
// 'application-extension',
'application',
'apputils-extension',
'apputils',
'attachments',
'cells',
'celltags-extension',
'codeeditor',
'codemirror-extension',
'codemirror',
'completer-extension',
'completer',
'console-extension',
'console',
'coreutils',
'csvviewer-extension',
'csvviewer',
'debugger-extension',
'debugger',
'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',
'lsp-extension',
'mainmenu-extension',
'mainmenu',
'markdownviewer-extension',
'markdownviewer',
'mathjax-extension',
// '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',
'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',
'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', 'examples/example.spec.ts'];
module.exports = {
entryPoints,
exclude,
name: '@jupyterlab',
out: 'docs/api',
readme: 'README.md',
theme: 'default',
tsconfig: 'tsconfigdoc.json'
};