0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-01 19:12:59 +00:00

fix(tools): ensure docs/guides files are copied correctly (#1464)

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 <zaubernerd@zaubernerd.de>
This commit is contained in:
Björn Brauer 2024-08-03 03:04:12 +02:00 committed by GitHub
parent 2bf9a94562
commit f7c3560260
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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/