diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-06-22 13:09:17 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-06-22 13:09:17 +0000 |
commit | f951b5d078f310702724f3214b50e17b27716023 (patch) | |
tree | 8b2a208c3aa81aa16a9575f4a7b1199e4b8e4537 /mdoc.7 | |
parent | 101796b4d79943845f21342db70d90db02e715a4 (diff) | |
download | mandoc-f951b5d078f310702724f3214b50e17b27716023.tar.gz |
libman documents require `TH' and at least one node.
libman requirements documented in man.7 STRUCTURE section.
Added STRUCTURE section to mdoc.7, too.
Diffstat (limited to 'mdoc.7')
-rw-r--r-- | mdoc.7 | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -278,7 +278,23 @@ In-lines have \(>=0 scoped arguments. \&.Yy \(lB\-arg \(lBval...\(rB\(rB arg0 arg1 argN .Ed -.\" +.\" SECTION +.Sh STRUCTURE +Each +.Nm +document must begin with the document prologue, containing, in order, +.Sq \&.Dd , +.Sq \&.Dt , +and +.Sq \&.Os . +.Pp +Following these, the document body must begin with the NAME section +containing at least one +.Sq \&.Nm +followed by a +.Sq \&.Nd +macro. +.\" SECTION .Sh MACROS This section contains a complete list of all .Nm |