-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Expand file tree
/
Copy pathtypedoc.config.js
More file actions
33 lines (30 loc) · 1.04 KB
/
typedoc.config.js
File metadata and controls
33 lines (30 loc) · 1.04 KB
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
import path from 'path';
import { fileURLToPath } from 'url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
import { OptionDefaults } from 'typedoc';
/** @type {Partial<import("typedoc").TypeDocOptions>} */
const config = {
excludeExternals: true,
tsconfig: path.resolve(__dirname, 'tsconfig-typedoc.json'),
entryPointStrategy: 'expand',
entryPoints: [
'packages/*/lib/modular/*ts',
'packages/*/lib/modular.ts',
'packages/*ai/lib/index.ts',
'packages/app/lib/utils/*.ts',
],
out: path.resolve(process.cwd(), 'docs/reference'),
cleanOutputDir: true,
// includeHierarchySummary: true, // Maybe this is useful? Maybe not?
fileExtension: '.mdx',
router: 'module',
plugin: ['typedoc-plugin-markdown'],
blockTags: [...OptionDefaults.blockTags, '@firebase', '@ios', '@android', '@platform', '@link'],
preservedTypeAnnotationTags: ['@firebase'],
hideGenerator: true,
gitRevision: 'main',
sourceLinkExternal: true,
markdownLinkExternal: true,
};
export default config;