v2: limit public exports (#1680)

Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
This commit is contained in:
Konstantin Konstantinov 2026-03-25 22:25:01 +02:00 • committed by GitHub
commit 0ed723748b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,12 +32,7 @@ export default {
exclude: ['**/*.examples.ts']
},
highlightLanguages: [...OptionDefaults.highlightLanguages, 'powershell'],
projectDocuments: [
'docs/documents.md',
'packages/middleware/README.md',
'examples/server/README.md',
'examples/client/README.md',
],
projectDocuments: ['docs/documents.md', 'packages/middleware/README.md', 'examples/server/README.md', 'examples/client/README.md'],
hostedBaseUrl: 'https://ts.sdk.modelcontextprotocol.io/v2/',
navigationLinks: {
'V1 Docs': '/'
@ -52,4 +47,10 @@ export default {
customJs: 'docs/v2-banner.js',
treatWarningsAsErrors: true,
out: 'tmp/docs/',
externalSymbolLinkMappings: {
'@modelcontextprotocol/core': {
StandardSchemaV1: 'https://standardschema.dev/',
StandardJSONSchemaV1: 'https://standardschema.dev/'
}
}
};