update docs

This commit is contained in:
2026-05-06 11:51:43 -03:00
parent c8bb6c7581
commit 946234eb9e
16 changed files with 1723 additions and 502 deletions

18
docs/render.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
# Re-render all Graphviz diagrams to SVG.
# Run after editing any .dot file under docs/graphs/.
# Usage: ./render.sh
set -euo pipefail
GRAPHS_DIR="$(cd "$(dirname "$0")/graphs" && pwd)"
if ! command -v dot &>/dev/null; then
echo "graphviz not found — install with: sudo apt install graphviz" >&2
exit 1
fi
for f in "$GRAPHS_DIR"/*.dot; do
svg="${f%.dot}.svg"
echo "==> $(basename "$f")$(basename "$svg")"
dot -Tsvg "$f" -o "$svg"
done