summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.template
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-08-20 13:22:48 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-08-20 13:22:48 +0000
commite1705017f36f9b6ace72ca94ca546e984e919b18 (patch)
tree4c61c2efc3ba7879b3f98840d3df2236a615a6bd /mdoc.template
parentc3829fc88899838b68249bab2a47f14c64d611f4 (diff)
downloadmandoc-e1705017f36f9b6ace72ca94ca546e984e919b18.tar.gz
mandoc-e1705017f36f9b6ace72ca94ca546e984e919b18.tar.zst
mandoc-e1705017f36f9b6ace72ca94ca546e984e919b18.zip
Updated manual structure in mdoc.7.
Synchronised mdoc.template and mdoc.7 manual structure. `Rv' and `Ex' now accept multiple arguments (-std made standalone, terms as children). `Rv' and `Ex' format correctly in -Tascii (plurals, commas, etc.).
Diffstat (limited to 'mdoc.template')
-rw-r--r--mdoc.template24
1 files changed, 12 insertions, 12 deletions
diff --git a/mdoc.template b/mdoc.template
index 6d2beb0d..9dcf5893 100644
--- a/mdoc.template
+++ b/mdoc.template
@@ -2,36 +2,36 @@
.\"
.\" Copyright notice goes here.
.\"
-.\" The uncommented requests are required for all man pages.
+.\" The uncommented requests are required for all manual pages.
.\" The commented requests should be uncommented and used where appropriate.
.\"
.\" See mdoc(7) for further reference.
.\"
.Dd $\&Mdocdate$
-.Dt <document_title> <section>
+.Dt title section
.Os
+.
.Sh NAME
-.Nm <name>
-.Nd <description>
-.\" The next request should be used for sections 2 and 3 only.
+.Nm name
+.Nd short description
+.\" The next is for sections 2 & 3 only.
.\" .Sh LIBRARY
.Sh SYNOPSIS
.Sh DESCRIPTION
-.\" This next request is for sections 1 and 8 exit statuses only.
+.\" The next is for sections 1 & 8 only.
.\" .Sh EXIT STATUS
-.\" This next request is for sections 2 and 3 function return values only.
+.\" The next is for sections 2, 3, & 9 only.
.\" .Sh RETURN VALUES
-.\" This next request is for sections 1, 6, 7 & 8 only.
+.\" The next is for sections 1, 6, 7 & 8 only.
.\" .Sh ENVIRONMENT
.\" .Sh FILES
.\" .Sh EXAMPLES
-.\" This next request is for sections 1, 6, 7 & 8 only
+.\" The next is for sections 1, 4, 6, 7, & 8 only
.\" .Sh DIAGNOSTICS
-.\" The next request is for sections 2 and 3 error and signal handling only.
+.\" The next is for sections 2, 3, & 9 only.
.\" .Sh ERRORS
.\" .Sh SEE ALSO
-.\" Cross-references should be ordered by section (low to high), then in
-.\" alphabetical order.
+.\" .Xr foobar 1
.\" .Sh STANDARDS
.\" .Sh HISTORY
.\" .Sh AUTHORS