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
6 changed files with 6 additions and 23 deletions

View File

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

View File

@@ -1,10 +1,5 @@
.nh
.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]
.TH greet 8
.SH NAME
.PP

View File

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

View File

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

View File

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

View File

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