Skip to content

Commit a2cb94f

Browse files
authored
Merge pull request #528 from authzed/update-docs-generation
update docs generation to make linter happy
2 parents beff80f + c4c68ac commit a2cb94f

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)