mirror of https://github.com/docker/cli.git
0573ec2b01
Older versions of Go do not format these comments, so we can already
reformat them ahead of time to prevent gofmt linting failing once
we update to Go 1.19 or up.
Result of:
gofmt -s -w $(find . -type f -name '*.go' | grep -v "/vendor/")
With some manual adjusting.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit
|
||
---|---|---|
.. | ||
src | ||
Dockerfile.5.md | ||
README.md | ||
docker-build.1.md | ||
docker-config-json.5.md | ||
docker-run.1.md | ||
docker.1.md | ||
dockerd.8.md | ||
generate.go | ||
import.go | ||
md2man-all.sh |
README.md
Docker Documentation
This directory contains scripts for generating the man pages. Many of the man
pages are generated directly from the spf13/cobra
Command
definition. Some
legacy pages are still generated from the markdown files in this directory.
Do not edit the man pages in the man1 directory. Instead, update the
Cobra command or amend the Markdown files for legacy pages.
Generate the man pages
From within the project root directory run:
make manpages