Merge pull request #1389 from dholbach/fix-1388

Remove ' command' from Flux CLI docs title
pull/1384/head
Daniel Holbach 4 years ago committed by GitHub
commit 37b60666c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -59,7 +59,7 @@ func docgenCmdRun(cmd *cobra.Command, args []string) error {
func frontmatterPrepender(filename string) string {
name := filepath.Base(filename)
base := strings.TrimSuffix(name, path.Ext(name))
title := strings.Replace(base, "_", " ", -1) + " command"
title := strings.Replace(base, "_", " ", -1)
return fmt.Sprintf(fmTemplate, title)
}

Loading…
Cancel
Save