Skip to content

Commit

Permalink
docs: fix typos and version for cli-docs-tool scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit 64a3fb8)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
thaJeztah committed Jul 19, 2024
1 parent 5ab44a4 commit 54c8eb7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/generate/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ go 1.16

//require (
// github.com/docker/cli v0.0.0+incompatible
// github.com/docker/cli-docs-tool v0.5.0
// github.com/docker/cli-docs-tool v0.8.0
//)
//
//replace github.com/docker/cli v0.0.0+incompatible => ../../
2 changes: 1 addition & 1 deletion scripts/docs/generate-md.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ trap clean EXIT
# init dummy go.mod
./scripts/vendor init
# install cli-docs-tool and copy docs/tools.go in root folder
# to be able to fetch the required depedencies
# to be able to fetch the required dependencies
go mod edit -modfile=vendor.mod -require=github.com/docker/cli-docs-tool@${CLI_DOCS_TOOL_VERSION}
cp docs/generate/tools.go .
# update vendor
Expand Down
2 changes: 1 addition & 1 deletion scripts/docs/generate-yaml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ trap clean EXIT
# init dummy go.mod
./scripts/vendor init
# install cli-docs-tool and copy docs/tools.go in root folder
# to be able to fetch the required depedencies
# to be able to fetch the required dependencies
go mod edit -modfile=vendor.mod -require=github.com/docker/cli-docs-tool@${CLI_DOCS_TOOL_VERSION}
cp docs/generate/tools.go .
# update vendor
Expand Down

0 comments on commit 54c8eb7

Please sign in to comment.