Skip to content

Commit c4c68ac

Browse files
committed
update docs generation to make linter happy
1 parent beff80f commit c4c68ac

2 files changed

Lines changed: 37 additions & 37 deletions

File tree

docs/zed.md

Lines changed: 35 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

magefiles/util.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ func collectCommandContent(cmd *cobra.Command, commandContents *[]CommandContent
9494
continue
9595
}
9696
cname := name + " " + child.Name()
97-
link := strings.ReplaceAll(strings.ReplaceAll(cname, "_", "-"), " ", "-")
98-
buf.WriteString(fmt.Sprintf("* [%s](#%s)\t - %s\n", cname, link, child.Short))
97+
link := "reference-" + strings.ReplaceAll(strings.ReplaceAll(cname, "_", "-"), " ", "-")
98+
buf.WriteString(fmt.Sprintf("- [%s](#%s)\t - %s\n", cname, link, child.Short))
9999
}
100100
buf.WriteString("\n\n")
101101

0 commit comments

Comments
 (0)