Rebuild the docs around tested examples; shrink README.v2.md to a pitch (#2978)

This commit is contained in:
Max 2026-06-26 12:49:19 +02:00 • committed by GitHub
commit 411a6d3980
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -137,6 +137,7 @@ include = [
"src/mcp",
"src/mcp-types/mcp_types",
"tests",
"docs_src",
"examples/stories",
"examples/servers",
"examples/snippets",
@ -166,6 +167,9 @@ executionEnvironments = [
{ root = "examples/servers", extraPaths = [
"examples/servers/simple-auth",
], reportUnusedFunction = false },
# docs_src/ holds the complete, runnable code examples included into docs/*.md.
# Decorated (@mcp.tool/...) module-level functions are never called by name.
{ root = "docs_src", reportUnusedFunction = false },
]
[tool.ruff]