-
Notifications
You must be signed in to change notification settings - Fork 6
/
typedoc.json
39 lines (36 loc) · 1.74 KB
/
typedoc.json
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
{
// base config
"out": "docs/content",
"tsconfig": "tsconfig.base.json",
"entryPoints": ["./src/quais.ts"],
// specific inclusions and exclusions
"excludeProtected": true,
"excludeNotDocumented": true,
"excludeExternals": true,
"exclude": ["./src/_admin/**/*", "./src/_tests/**/*", "./src/testcases/**/*"],
// plugins
"plugin": [
"typedoc-plugin-remove-references", // remove additional references that clutter documentation
"typedoc-plugin-markdown", // generate markdown files
"typedoc-plugin-frontmatter", // add frontmatter to markdown files, prereq for the below custom plugin
"./docs/plugins/typedoc-plugin-mintlify-frontmatter.mjs", // formats frontmatter to match mintlify
"./docs/plugins/typedoc-plugin-navigation-output.mjs", // formats navigation to match mintlify
"./docs/plugins/typedoc-plugin-link-formatter.mjs" // removes ".mdx" from links
],
// formatting + mintlify compatibility
"fileExtension": ".mdx", // use mdx files for mintlfiy compatibility
"entryFileName": "index.mdx", // rename entry from "README.md" to "index.mdx"
"mergeReadme": true, // merge README.md into index.mdx
"hidePageHeader": true, // hide page header, conflicts with mintlify
"hidePageTitle": true, // hide page title, conflicts with mintlify
"hideBreadcrumbs": true, // hide breadcrumbs, conflicts with mintlify
"useCodeBlocks": true, // makes API definitions more readable
"expandObjects": true,
"parametersFormat": "table", // readability
"propertiesFormat": "table", // readability
"publicPath": "/sdk/content/", // format links for mintlify
"navigation": {
"includeCategories": true,
"includeGroups": false
}
}