- Add build.sh wrapper script for SVG rendering via mermaid-cli - Simplify pawn shop: remove trade chain, show items as UNLOCKED directly - Add documented color palette for repeat areas - Fix 16 orphaned nodes (input/output connectivity issues) - Apply bigger subgraph titles (18px for Final Confrontation) - Ensure only START/END outside subgraph groupings Build: ./build.sh (not mdbook build)
15 lines
379 B
Bash
Executable File
15 lines
379 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
MMDC="/home/noti/.nvm/versions/node/v22.17.1/bin/mmdc"
|
|
SRC_DIR="$SCRIPT_DIR/src/inspiration"
|
|
|
|
echo "Rendering Mermaid charts to SVG..."
|
|
"$MMDC" -i "$SRC_DIR/kings-quest-vi-chart.mmd" -o "$SRC_DIR/kings-quest-vi-chart.svg" -w 1600
|
|
echo "Done."
|
|
|
|
echo "Building mdbook..."
|
|
cd "$SCRIPT_DIR"
|
|
mdbook build
|