[v1.x] docs: publish llms.txt and markdown renditions of the docs (#3029)

This commit is contained in:
Max 2026-06-30 11:30:59 +01:00 • committed by GitHub
commit 0e3a604636
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,5 @@
site_name: MCP Server
site_description: MCP Server
site_name: MCP Python SDK
site_description: The official Python SDK for the Model Context Protocol
strict: true
repo_name: modelcontextprotocol/python-sdk
@ -85,7 +85,10 @@ markdown_extensions:
- pymdownx.critic
- pymdownx.mark
- pymdownx.superfences
- pymdownx.snippets
# Resolve snippet includes against the repo root regardless of the build's
# working directory (the extension's default base_path is the CWD).
- pymdownx.snippets:
base_path: !relative $config_dir
- pymdownx.tilde
- pymdownx.inlinehilite
- pymdownx.highlight:
@ -111,6 +114,9 @@ markdown_extensions:
watch:
- src/mcp
hooks:
- docs/hooks/llms_txt.py
plugins:
- search
- social