Merge pull request #1041 from saschagrunert/man-fix

Fix man page heading formatting
This commit is contained in:
Ajitem Sahasrabuddhe 2020-01-16 18:33:29 +05:30 committed by GitHub
commit 826e00cf75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 23 deletions

View File

@ -71,9 +71,7 @@ OPTIONS:
{{end}}{{end}} {{end}}{{end}}
` `
var MarkdownDocTemplate = `% {{ .App.Name }}(8){{ if .App.Description }} {{ .App.Description }}{{ end }} var MarkdownDocTemplate = `% {{ .App.Name }} 8
{{ range $a := .App.Authors }}
% {{ $a }}{{ end }}
# NAME # NAME

View File

@ -1,10 +1,5 @@
.nh .nh
.TH greet(8) .TH greet 8
.SH Harrison harrison@lolwut.com
\[la]mailto:harrison@lolwut.com\[ra]
Oliver Allen oliver@toyshop.com
\[la]mailto:oliver@toyshop.com\[ra]
.SH NAME .SH NAME
.PP .PP

View File

@ -1,7 +1,4 @@
% greet(8) % greet 8
% Harrison <harrison@lolwut.com>
% Oliver Allen <oliver@toyshop.com>
# NAME # NAME

View File

@ -1,5 +1,4 @@
% greet(8) % greet 8
# NAME # NAME

View File

@ -1,7 +1,4 @@
% greet(8) % greet 8
% Harrison <harrison@lolwut.com>
% Oliver Allen <oliver@toyshop.com>
# NAME # NAME

View File

@ -1,7 +1,4 @@
% greet(8) % greet 8
% Harrison <harrison@lolwut.com>
% Oliver Allen <oliver@toyshop.com>
# NAME # NAME