From a9d713d2675547ac84bc94a78aacc3827240cfbb Mon Sep 17 00:00:00 2001 From: Christian Richter Date: Fri, 11 Mar 2022 10:21:41 +0100 Subject: [PATCH] Fix broken template for env variables Signed-off-by: Christian Richter --- docs/helpers/extractor.go.tmpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/helpers/extractor.go.tmpl b/docs/helpers/extractor.go.tmpl index 75b7592325..76ec507b3a 100644 --- a/docs/helpers/extractor.go.tmpl +++ b/docs/helpers/extractor.go.tmpl @@ -41,12 +41,11 @@ m := map[string]interface{}{ {{- end }} } - targetFolder := "../../../docs/extensions/_includes/" + targetFolder := "../../docs/extensions/_includes/" for pkg, conf := range m { fields = GetAnnotatedVariables(conf) if len(fields) > 0 { fmt.Printf("... %s\n", pkg) - os.MkdirAll(filepath.Join(targetFolder, replacer.Replace(pkg)), 0700) targetFile, err = os.Create(filepath.Join(targetFolder, replacer.Replace(pkg) + "_configvars.md")) if err != nil { log.Fatalf("Failed to create target file: %s", err)