-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Expand file tree
/
Copy pathtypedoc.mjs
More file actions
24 lines (21 loc) · 727 Bytes
/
typedoc.mjs
File metadata and controls
24 lines (21 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { OptionDefaults } from "typedoc";
/** @type {Partial<import('typedoc').TypeDocOptions>} */
const config = {
name: "React Router API Reference",
entryPoints: ["packages/*"],
entryPointStrategy: "packages",
includeVersion: false,
json: "./public/dev/api.json",
out: "./public/dev",
hostedBaseUrl: "https://api.reactrouter.com/dev/",
};
export default config;
// Because we use `entryPointStrategy: "packages"`, the root config is not
// inherited by the child packages so we can export shared stuff here for them
// to use. See https://typedoc.org/documents/Options.Input.html#entrypointstrategy
export const blockTags = [
...OptionDefaults.blockTags,
"@name",
"@mode",
"@additionalExamples",
];