UNPKG

644 BJavaScriptView Raw
1/**
2 * Created by user on 2018/4/21/021.
3 */
4
5const path = require('path');
6
7let p = path.resolve(path.join(path.dirname(require.resolve('typedoc-themes-color')), 'theme'));
8
9console.log(p);
10console.log(path.relative(process.cwd(), p));
11
12module.exports = {
13 src : '.',
14 out: './docs',
15 //theme: './my-theme',
16// theme: path.relative(process.cwd(), p),
17 theme: p,
18 ignoreCompilerErrors: true,
19 excludeExternals: true,
20
21 externalPattern: "**/node_modules/**",
22
23 exclude: [
24 "test",
25 "node_modules",
26 "test/",
27 "node_modules/",
28 "**/test",
29 "**/node_modules",
30 "**/test/**/*",
31 "**/node_modules/**/*",
32 ],
33};
34
35console.log(module.exports);