Files
avo/script/doc
2022-04-24 20:20:11 -07:00

12 lines
336 B
Bash
Executable File

#!/bin/bash -ex
# Generate some specific files with docgen.
go install ./internal/cmd/docgen
prjs="tests/thirdparty/projects.json"
docgen -prjs "${prjs}" -type readme -output README.md
docgen -prjs "${prjs}" -type adopters -output doc/adopters.md
# Process simple file embeddings with embedmd.
find . -name '*.md' | xargs embedmd -w