[v1.x] docs: publish llms.txt and markdown renditions of the docs (#3029)
This commit is contained in:
parent
9678a3b347
commit
0e3a604636
1 changed files with 193 additions and 3 deletions
12
mkdocs.yml
12
mkdocs.yml
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue