From 37f234fbe796473dd8edcca5902c8099cbc161a1 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sun, 9 Apr 2023 13:35:55 +0200 Subject: [PATCH] scripts/docs/generate-md.sh: fix location of generate code Commit 1e3622c50cc80bb578c59dc242630ee815e678fd moved the generator code to a subdirectory, but forgot to update the markdown version of this script. Signed-off-by: Sebastiaan van Stijn --- scripts/docs/generate-md.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/docs/generate-md.sh b/scripts/docs/generate-md.sh index 1d155a1cef..a947bb9696 100755 --- a/scripts/docs/generate-md.sh +++ b/scripts/docs/generate-md.sh @@ -25,11 +25,11 @@ trap clean EXIT # install cli-docs-tool and copy docs/tools.go in root folder # to be able to fetch the required depedencies go mod edit -modfile=vendor.mod -require=github.com/docker/cli-docs-tool@${CLI_DOCS_TOOL_VERSION} - cp docs/tools.go . + cp docs/generate/tools.go . # update vendor ./scripts/vendor update # build docsgen - go build -mod=vendor -modfile=vendor.mod -tags docsgen -o /tmp/docsgen ./docs/generate.go + go build -mod=vendor -modfile=vendor.mod -tags docsgen -o /tmp/docsgen ./docs/generate/generate.go ) # yaml generation on docs repo needs the cli.md file: https://github.com/docker/cli/pull/3924#discussion_r1059986605