Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,16 @@ jobs:
- name: Validate documentation conversion script
run: pip install pytest && pytest docs/scripts/test_convert_docs.py

- name: Copy schemas to documentation
run: |
cp -R specification/* docs/specification/
# Flatten JSON files to version roots to support clean URLs without redirects
for version in v0_8 v0_9; do
if [ -d "docs/specification/$version/json" ]; then
cp docs/specification/$version/json/*.json docs/specification/$version/
fi
done

- name: Convert Admonitions in Documentation
run: python docs/scripts/convert_docs.py --mode github-to-mkdocs

Expand Down
15 changes: 1 addition & 14 deletions mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,17 +183,4 @@ plugins:
# sections:
# "Specification":
# - a2ui_protocol.md
- redirects:
redirect_maps:
"specification/v0_9/server_to_client.json": "specification/v0_9/json/server_to_client.json"
"specification/v0_9/client_to_server.json": "specification/v0_9/json/client_to_server.json"
"specification/v0_9/common_types.json": "specification/v0_9/json/common_types.json"
"specification/v0_9/standard_catalog.json": "specification/v0_9/json/standard_catalog.json"
"specification/v0_9/a2ui_client_capabilities.json": "specification/v0_9/json/a2ui_client_capabilities.json"
"specification/v0_9/a2ui_client_data_model.json": "specification/v0_9/json/a2ui_client_data_model.json"
"specification/v0_8/a2ui_client_capabilities_schema.json": "specification/v0_8/json/a2ui_client_capabilities_schema.json"
"specification/v0_8/catalog_description_schema.json": "specification/v0_8/json/catalog_description_schema.json"
"specification/v0_8/client_to_server.json": "specification/v0_8/json/client_to_server.json"
"specification/v0_8/server_to_client.json": "specification/v0_8/json/server_to_client.json"
"specification/v0_8/server_to_client_with_standard_catalog.json": "specification/v0_8/json/server_to_client_with_standard_catalog.json"
"specification/v0_8/standard_catalog_definition.json": "specification/v0_8/json/standard_catalog_definition.json"

1 change: 0 additions & 1 deletion requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
mkdocs-material
mkdocs-redirects
mkdocs-macros-plugin
mkdocs-llmstxt
mkdocs-include-markdown-plugin
Expand Down
Loading