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
7
docs_src/__init__.py
Normal file
7
docs_src/__init__.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
"""Complete, runnable source for every code example in `docs/`.
|
||||
|
||||
Each `docs/<page>.md` includes its examples from `docs_src/<chapter>/tutorialNNN.py`
|
||||
via `--8<--`, and `tests/docs_src/test_<chapter>.py` imports the same module and
|
||||
exercises it through the in-memory `mcp.Client`. The file you read in the docs is
|
||||
the file CI runs.
|
||||
"""
|
||||
Loading…
Reference in a new issue