#!/usr/bin/env bash # Documentation. # # Usage: # ./docs.sh serve|graphs set -euo pipefail cd "$(dirname "$0")" source ./lib/config.sh source ./lib/estate.sh load_config case "${1:-serve}" in serve) echo "berth has no doc server yet — the README is the documentation." echo " $(cd .. && pwd)/README.md" echo echo "the estate, resolved: make estate show" ;; graphs) echo "not implemented. The estate file is the graph's source; a" echo "renderer belongs with docgen/graphgen, which is another thread's" echo "another thread's — so this is a handoff, not a stub to fill in here." ;; *) echo "usage: $0 [serve|graphs]" >&2; exit 1 ;; esac