Visual MkDocs Plan
Current Source of Truth (This Version)
visual/**/*.html- Postman visualizer scripts/templatesvisual/**/*.json- sample response payloads
The MkDocs visual catalog is generated directly from these files.
Current Implementation (MVP)
tools/docs/build_visual_docs.pyscansvisual/- Generates pages under
docs/visual/ - Generates preview wrappers under
docs/visual-previews/ - Uses a lightweight Postman shim for previews:
pm.response.json()pm.getData(...)pm.visualizer.set(...)
Future Direction (Planned)
Later, the HTML/script source of truth will move into the Postman collection files.
Planned migration path:
- Keep
visual/*.jsonas sample data source - Add a collection extractor adapter for visualizer scripts
- Preserve generated MkDocs page URLs
- Switch generator input from filesystem HTML to collection-derived scripts
Commands
source .venv/bin/activate
tools/docs/build_visual_docs.py
mkdocs serve -a 127.0.0.1:8030