| 1 | #!/bin/bash -ex |
| 2 | |
| 3 | # Generate some specific files with docgen. |
| 4 | go install ./internal/cmd/docgen |
| 5 | |
| 6 | suite="tests/thirdparty/suite.json" |
| 7 | docgen -suite "${suite}" -type readme -output README.md |
| 8 | docgen -suite "${suite}" -type adopters -output doc/adopters.md |
| 9 | |
| 10 | # Process simple file embeddings with embedmd. |
| 11 | find . -name '*.md' | xargs embedmd -w |