Skip to content

Commit 37f234f

Browse files
committed
scripts/docs/generate-md.sh: fix location of generate code
Commit 1e3622c moved the generator code to a subdirectory, but forgot to update the markdown version of this script. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 613ab8b commit 37f234f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/docs/generate-md.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ trap clean EXIT
2525
# install cli-docs-tool and copy docs/tools.go in root folder
2626
# to be able to fetch the required depedencies
2727
go mod edit -modfile=vendor.mod -require=github.com/docker/cli-docs-tool@${CLI_DOCS_TOOL_VERSION}
28-
cp docs/tools.go .
28+
cp docs/generate/tools.go .
2929
# update vendor
3030
./scripts/vendor update
3131
# build docsgen
32-
go build -mod=vendor -modfile=vendor.mod -tags docsgen -o /tmp/docsgen ./docs/generate.go
32+
go build -mod=vendor -modfile=vendor.mod -tags docsgen -o /tmp/docsgen ./docs/generate/generate.go
3333
)
3434

3535
# yaml generation on docs repo needs the cli.md file: https://github.com/docker/cli/pull/3924#discussion_r1059986605

0 commit comments

Comments
 (0)