From 74b686d1601af46fdb451f9b07e19637e4c3e392 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Fri, 25 Oct 2024 22:12:11 +0200 Subject: [PATCH] fix(clustertool): correct name for main commands docs page --- clustertool/pkg/helper/tooldocs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clustertool/pkg/helper/tooldocs.go b/clustertool/pkg/helper/tooldocs.go index a81f93a0a83..e66651c7a86 100644 --- a/clustertool/pkg/helper/tooldocs.go +++ b/clustertool/pkg/helper/tooldocs.go @@ -91,7 +91,7 @@ func addYamlTitle(content []byte, isPrimaryIndex bool) []byte { builder.WriteString("---\ntitle: ") if isPrimaryIndex { - builder.WriteString("clustertool\n---\n") + builder.WriteString("commands\n---\n") log.Debug().Msg("Set primary index title to 'clustertool'") } else if scanner.Scan() && strings.HasPrefix(scanner.Text(), "## ") { title := strings.TrimPrefix(scanner.Text(), "## ")