1 |
|
2 |
|
3 |
|
4 |
|
5 | const path = require('path');
|
6 |
|
7 | let p = path.resolve(path.join(path.dirname(require.resolve('typedoc-themes-color')), 'theme'));
|
8 |
|
9 | console.log(p);
|
10 | console.log(path.relative(process.cwd(), p));
|
11 |
|
12 | module.exports = {
|
13 | src : '.',
|
14 | out: './docs',
|
15 |
|
16 |
|
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 |
|
35 | console.log(module.exports);
|