-
Notifications
You must be signed in to change notification settings - Fork 4
/
typedoc.config.js
61 lines (61 loc) · 1.64 KB
/
typedoc.config.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
// #region pagesConfig-1
module.exports = {
// #endregion
out: 'docs',
skipErrorChecking: true,
// #region pagesConfig-2
name: 'Knodes TypeDoc Plugins',
entryPoints: [
'packages/*',
],
entryPointStrategy: 'packages',
pluginPages: {
pages: [
{
name: 'Knodes TypeDoc Plugins', // The section containing the monorepo root pages
moduleRoot: true,
children: [
{ name: 'Changelog', source: './CHANGELOG.md' },
],
},
{
name: '@knodes/typedoc-plugin-pages', // A pages section for the package `@knodes/typedoc-plugin-pages`
moduleRoot: true,
source: 'readme-extras.md', // This is a module root page. `readme-extras.md` will be appended to the module index
children: [ // Children pages
{ name: 'Using options', source: 'options.md' },
{ name: 'Pages tree', source: 'pages-tree.md' },
],
},
// #endregion
{
name: '@knodes/typedoc-plugin-code-blocks',
moduleRoot: true,
children: [
{ name: 'Using options', source: 'options.md' },
{ name: 'Configuring eslint', source: 'eslint.md' },
],
},
{
name: '@knodes/typedoc-pluginutils',
moduleRoot: true,
children: [
{ name: 'Providing options', source: 'providing-options.md' },
{ name: 'Resolving paths', source: 'resolving-paths.md' },
],
},
// #region pagesConfig-3
],
// #endregion
excludeMarkdownTags: [ '{@page <path-to-file>[ link label]}', '{@page ...}' ],
// #region pagesConfig-4
},
// #endregion
pluginCodeBlocks: {
source: '__tests__/mock-fs',
excludeMarkdownTags: [ '{@codeblock}', '{@inlineCodeblock}' ],
},
excludePrivate: true,
// #region pagesConfig-5
};
// #endregion