Repository navigation
Expand file tree
/
Copy pathtypedoc.config.mjs
More file actions
95 lines (92 loc) · 2.88 KB
/
Copy pathtypedoc.config.mjs
File metadata and controls
95 lines (92 loc) · 2.88 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
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
import { OptionDefaults } from "typedoc";
const BASE_SDK_DOCS = "https://ts.sdk.modelcontextprotocol.io/v2/";
/** @type {Partial<import('typedoc').TypeDocOptions>} */
const config = {
name: "MCP Apps",
readme: "README.md",
headings: {
readme: false,
},
gitRevision: "main",
projectDocuments: [
"docs/overview.md",
"docs/quickstart.md",
"docs/agent-skills.md",
"docs/testing-mcp-apps.md",
"docs/patterns.md",
"docs/authorization.md",
"docs/csp-cors.md",
"docs/migrate_from_openai_apps.md",
"docs/migrate-to-2.md",
],
entryPoints: [
"src/server/index.ts",
"src/app.ts",
"src/react/index.tsx",
"src/app-bridge.ts",
"src/message-transport.ts",
"src/types.ts",
],
excludePrivate: true,
excludeInternal: false,
intentionallyNotExported: ["RequestHandlerExtra"],
externalSymbolLinkMappings: {
"@modelcontextprotocol/client": {
ClientOptions: BASE_SDK_DOCS,
ConnectOptions: BASE_SDK_DOCS,
DiscoverResult: BASE_SDK_DOCS,
"MessageExtraInfo.classification": BASE_SDK_DOCS,
ProtocolError: BASE_SDK_DOCS,
"Protocol.close": BASE_SDK_DOCS,
"Protocol.notification": BASE_SDK_DOCS,
ResponseCacheStore: BASE_SDK_DOCS,
SdkError: BASE_SDK_DOCS,
"SdkErrorCode.MethodNotSupportedByProtocolVersion": BASE_SDK_DOCS,
StandardJSONSchemaV1: BASE_SDK_DOCS,
"SdkErrorCode.UnsupportedResultType": BASE_SDK_DOCS,
"__type.enforceStrictCapabilities": BASE_SDK_DOCS,
},
"@modelcontextprotocol/server": {
LoggingMessageNotification: BASE_SDK_DOCS,
"McpServer.registerTool": BASE_SDK_DOCS,
"MessageExtraInfo.classification": BASE_SDK_DOCS,
"Protocol.close": BASE_SDK_DOCS,
"Protocol.notification": BASE_SDK_DOCS,
"SdkErrorCode.UnsupportedResultType": BASE_SDK_DOCS,
},
},
blockTags: [...OptionDefaults.blockTags, "@description"],
jsDocCompatibility: {
exampleTag: false,
},
includeVersion: false,
categorizeByGroup: true,
groupOrder: ["Getting Started", "Security", "Modules", "*"],
navigation: {
includeGroups: true,
},
navigationLinks: {
GitHub: "https://github.com/modelcontextprotocol/ext-apps",
Specification:
"https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/2026-01-26/apps.mdx",
},
hostedBaseUrl: "https://apps.extensions.modelcontextprotocol.io/api/",
customCss: "./docs/mcp-theme.css",
out: "docs/api",
plugin: [
"typedoc-github-theme",
"./scripts/typedoc-plugin-base-sdk-links.mjs",
"./scripts/typedoc-plugin-fix-mermaid-entities.mjs",
"./scripts/typedoc-plugin-seo.mjs",
"./scripts/typedoc-plugin-mcpstyle.mjs",
"@boneskull/typedoc-plugin-mermaid",
],
ignoredHighlightLanguages: ["mermaid"],
locales: {
en: {
kind_plural_document: "Getting Started",
kind_plural_module: "API Documentation",
},
},
};
export default config;