github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/cli/scripts/docs/generate-yaml.sh (about)

     1  #!/usr/bin/env bash
     2  # Generate yaml for docker/cli reference docs
     3  set -eu -o pipefail
     4  
     5  mkdir -p docs/yaml/gen
     6  
     7  go build -o build/yaml-docs-generator github.com/docker/cli/docs/yaml
     8  build/yaml-docs-generator --root "$(pwd)" --target "$(pwd)/docs/yaml/gen"