|
1 | | -import { Application } from "typedoc"; |
2 | | -import webpack from "./webpack/package.json" with { type: "json" }; |
3 | | -import { major } from "semver"; |
| 1 | +import { Application } from 'typedoc'; |
| 2 | +import webpack from './webpack/package.json' with { type: 'json' }; |
| 3 | +import { major } from 'semver'; |
4 | 4 |
|
5 | 5 | const app = await Application.bootstrapWithPlugins({ |
6 | | - entryPoints: ["./webpack/types.d.ts"], |
| 6 | + entryPoints: ['./webpack/types.d.ts'], |
7 | 7 | out: `pages/v${major(webpack.version)}.x`, |
8 | 8 |
|
9 | 9 | // Plugins |
10 | 10 | plugin: [ |
11 | | - "typedoc-plugin-markdown", |
12 | | - "./plugins/processor.mjs", |
13 | | - "./plugins/theme/index.mjs", |
| 11 | + 'typedoc-plugin-markdown', |
| 12 | + './plugins/processor.mjs', |
| 13 | + './plugins/theme/index.mjs', |
14 | 14 | ], |
15 | | - theme: "doc-kit", |
| 15 | + theme: 'doc-kit', |
| 16 | + router: 'doc-kit', |
16 | 17 |
|
17 | 18 | // Formatting |
18 | 19 | hideGroupHeadings: true, |
19 | 20 | hideBreadcrumbs: true, |
20 | 21 | hidePageHeader: true, |
21 | 22 | disableSources: true, |
| 23 | + propertiesFormat: 'table', |
22 | 24 |
|
23 | | - router: "module", |
24 | | - entryFileName: "index", |
25 | | - |
26 | | - tsconfig: "tsconfig.json", |
| 25 | + entryFileName: 'index', |
| 26 | + tsconfig: 'tsconfig.json', |
27 | 27 | }); |
28 | 28 |
|
29 | 29 | const project = await app.convert(); |
|
0 commit comments