github.com/jen20/docker@v1.13.1/man/generate.sh (about) 1 #!/bin/bash 2 # 3 # Generate man pages for docker/docker 4 # 5 6 set -eu 7 8 mkdir -p ./man/man1 9 10 # Generate man pages from cobra commands 11 go build -o /tmp/gen-manpages ./man 12 /tmp/gen-manpages ./man/man1 13 14 # Generate legacy pages from markdown 15 ./man/md2man-all.sh -q