feat(hakurei): docs

This commit is contained in:
arcnmx 2024-02-22 14:14:12 -08:00
parent c0e241b83c
commit 1d038633ce
11 changed files with 238 additions and 2 deletions

16
ci/docs.sh Normal file
View file

@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -eu
docs_try() {
local CMD=$1
shift
if type -P "$CMD" > /dev/null 2>&1; then
exec "$CMD" "$NF_DOCS_PATH/index.html" "$@"
fi
}
docs_try xdg-open "$@"
docs_try open "$@"
docs_try firefox "$@"
docs_try chrome "$@"