From f7c35602608a7cfcdebceadd725ebae02c9b6cf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Brauer?= Date: Sat, 3 Aug 2024 03:04:12 +0200 Subject: [PATCH] fix(tools): ensure docs/guides files are copied correctly (#1464) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this change the `make docs` command would cause the generated guides directory to be nested in `docs/guides/guides`. Signed-off-by: Björn Brauer --- tools/tools.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tools.go b/tools/tools.go index a1e2e6d7..4809769a 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -27,7 +27,7 @@ import ( // Temporary: while migrating to the TF framework, we need to copy the generated docs to the right place // for the resources / data sources that have been migrated. -//go:generate cp -R ../build/docs-gen/guides/ ../docs/guides/ +//go:generate cp -R ../build/docs-gen/guides/. ../docs/guides/ //go:generate cp ../build/docs-gen/data-sources/virtual_environment_apt_repository.md ../docs/data-sources/ //go:generate cp ../build/docs-gen/data-sources/virtual_environment_apt_standard_repository.md ../docs/data-sources/ //go:generate cp ../build/docs-gen/data-sources/virtual_environment_hagroup.md ../docs/data-sources/