Rebuild the docs around tested examples; shrink README.v2.md to a pitch (#2978)
This commit is contained in:
parent
4caa41f6d5
commit
411a6d3980
1 changed files with 9510 additions and 2639 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue