diff options
author | Anthony Fok <foka@debian.org> | 2015-08-04 03:15:12 -0600 |
---|---|---|
committer | Anthony Fok <foka@debian.org> | 2015-08-04 03:19:57 -0600 |
commit | f2ab0b2608a1c4dc7109733be7eff80738ae9712 (patch) | |
tree | f7e62ec2544f4bf0b3417bc6aa5cdd967edc55cc /commands/gendoc.go | |
parent | e64e571b679b429f547b38ebcb1f8aab8d785e7b (diff) |
Improve formatting of Hugo command descriptions
Trying to make them look good both in the terminal (`hugo help [command]`)
and in the web browser (http://gohugo.io/commands/). :-)
Diffstat (limited to 'commands/gendoc.go')
-rw-r--r-- | commands/gendoc.go | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/commands/gendoc.go b/commands/gendoc.go index b8b07a0b7..34f9c1229 100644 --- a/commands/gendoc.go +++ b/commands/gendoc.go @@ -24,11 +24,12 @@ var gendocCmd = &cobra.Command{ Use: "gendoc", Short: "Generate Markdown documentation for the Hugo CLI.", Long: `Generate Markdown documentation for the Hugo CLI. - - This command is, mostly, used to create up-to-date documentation for gohugo.io. - - It creates one Markdown file per command with front matter suitable for rendering in Hugo. - `, + +This command is, mostly, used to create up-to-date documentation +of Hugo's command-line interface for http://gohugo.io/. + +It creates one Markdown file per command with front matter suitable +for rendering in Hugo.`, Run: func(cmd *cobra.Command, args []string) { if !strings.HasSuffix(gendocdir, helpers.FilePathSeparator) { |