* Default is now previous single-verbosity level; it was too annoying to
  add the -v every time.
** -q/--quiet has been added to return to the previous default output
This commit is contained in:
brent saner
2025-11-08 23:33:21 -05:00
parent 860ad5842b
commit 4cbb17bf9e
11 changed files with 792 additions and 36 deletions

23
.githooks/pre-commit/01-docgen Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
#docsdir="${PWD}/docs"
docsdir="${PWD}"
if ! command -v asciidoctor &> /dev/null;
then
exit 0
fi
mkdir -p "${docsdir}"
for f in $(find . -maxdepth 1 -type f -iname "*.adoc"); do
filename=$(basename -- "${f}")
nosuffix="${filename%.*}"
asciidoctor \
-a allow-uri-read \
-o "${docsdir}/${nosuffix}.html" \
"${f}"
git add "${docsdir}/${nosuffix}.html"
done
echo "Regenerated docs"