X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/ef304928cf8372f743d9864ba9fbc8f688675600..c6cc6d2cdc21391e0fed1b0e6fd715071bee1879:/mdoc.template diff --git a/mdoc.template b/mdoc.template index 6d2beb0d..f1b406ef 100644 --- a/mdoc.template +++ b/mdoc.template @@ -2,39 +2,41 @@ .\" .\" 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 .\" .Sh LIBRARY +.\" For sections 2, 3, & 9 only. +.\" Not used in OpenBSD. .Sh SYNOPSIS .Sh DESCRIPTION -.\" This next request is for sections 1 and 8 exit statuses only. -.\" .Sh EXIT STATUS -.\" This next request is for sections 2 and 3 function return values only. +.\" .Sh IMPLEMENTATION NOTES .\" .Sh RETURN VALUES -.\" This next request is for sections 1, 6, 7 & 8 only. +.\" For sections 2, 3, & 9 only. .\" .Sh ENVIRONMENT +.\" For sections 1, 6, 7 & 8 only. .\" .Sh FILES +.\" .Sh EXIT STATUS +.\" For sections 1, 6 & 8 only. .\" .Sh EXAMPLES -.\" This next request is for sections 1, 6, 7 & 8 only .\" .Sh DIAGNOSTICS -.\" The next request is for sections 2 and 3 error and signal handling only. +.\" For sections 1, 4, 6, 7, & 8 only .\" .Sh ERRORS +.\" For sections 2, 3, & 9 only. .\" .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 .\" .Sh CAVEATS .\" .Sh BUGS .\" .Sh SECURITY CONSIDERATIONS +.\" Not used in OpenBSD.