|
|
6a4aece659
|
feat(docs): add MCP artifact generation to manage_docs CLI
- Introduced `build_mcp` command to generate docs-only MCP artifacts
- Reuses existing MkDocs + mkdocstrings pipeline (no code introspection)
- Extracts `:::` mkdocstrings directives from generated Markdown
- Emits structured MCP output:
- `mcp/index.json` (project metadata)
- `mcp/nav.json` (page → module mapping)
- `mcp/modules/*.json` (per-module references)
- Preserves all existing commands and behavior (`generate`, `build`, `serve`)
- Avoids source code exposure; MCP output is derived solely from documentation
This enables a clean docs → MCP → MCP server workflow suitable for AI IDE integration.
|
2026-01-19 18:22:59 +05:30 |
|