Files
query-orchestration/docs/ai.generated/scripts/mermaid-to-url.sh
T
Jay Brown da6de0080b Merged in feature/update-docs (pull request #180)
Update complete pdf code for entire system

* docs

and code for generation of updated docs
2025-09-09 19:34:03 +00:00

12 lines
414 B
Bash
Executable File

#!/bin/bash
# Script to convert piped mermaid text to a mermaid.live URL
# Usage: cat mermaid.md | ./mermaid-to-url.sh
# or: echo "graph TD; A-->B" | ./mermaid-to-url.sh
# This script delegates to the Python version for proper compression
# Get the directory where this script is located
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Call the Python script
python3 "$SCRIPT_DIR/mermaid-to-url.py"