2018-12-31 20:25:29 -08:00
|
|
|
#!/bin/bash -ex
|
|
|
|
|
|
2022-04-17 19:41:29 -07:00
|
|
|
# Generate some specific files with docgen.
|
|
|
|
|
go install ./internal/cmd/docgen
|
|
|
|
|
|
2022-04-24 20:20:11 -07:00
|
|
|
prjs="tests/thirdparty/projects.json"
|
|
|
|
|
docgen -prjs "${prjs}" -type readme -output README.md
|
|
|
|
|
docgen -prjs "${prjs}" -type adopters -output doc/adopters.md
|
2022-04-17 19:41:29 -07:00
|
|
|
|
|
|
|
|
# Process simple file embeddings with embedmd.
|
2018-12-31 20:25:29 -08:00
|
|
|
find . -name '*.md' | xargs embedmd -w
|