summaryrefslogtreecommitdiffstats
path: root/mdoc.template
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-11 13:13:44 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-11 13:13:44 +0000
commit16f0555b8898b61bc059e893f1f76f5a61647b8a (patch)
tree4e789995c672be4d48776372bb6eac5a2fcfb4d2 /mdoc.template
parent1ccc7deff941fab7a5f5bdeb0b7de714ec084ff8 (diff)
downloadmandoc-16f0555b8898b61bc059e893f1f76f5a61647b8a.tar.gz
Added mdoc.template (from NetBSD -- unlicensed??).
Moved MDOC_TEXT type checks into assertions (should be caught by parser). Added some FIXME notes in mdoc output (largely that things should be asserted, not caught).
Diffstat (limited to 'mdoc.template')
-rw-r--r--mdoc.template38
1 files changed, 38 insertions, 0 deletions
diff --git a/mdoc.template b/mdoc.template
new file mode 100644
index 00000000..e9f70665
--- /dev/null
+++ b/mdoc.template
@@ -0,0 +1,38 @@
+.\" $\&Id$
+.\"
+.\" Copyright notice goes here.
+.\"
+.\" The uncommented requests are required for all man pages.
+.\" The commented requests should be uncommented and used where appropriate.
+.\"
+.\" See mdoc(7) for further reference.
+.\"
+.Dd $\&Mdocdate$
+.Dt DOCUMENT_TITLE SECTION
+.Os
+.Sh NAME
+.\" The next request should be used for sections 2 and 3 only.
+.\" .Sh LIBRARY
+.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 RETURN VALUES
+.\" This next request 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
+.\" .Sh DIAGNOSTICS
+.\" The next request is for sections 2 and 3 error and signal handling only.
+.\" .Sh ERRORS
+.\" .Sh SEE ALSO
+.\" Cross-references should be ordered by section (low to high), then in
+.\" alphabetical order.
+.\" .Sh STANDARDS
+.\" .Sh HISTORY
+.\" .Sh AUTHORS
+.\" .Sh CAVEATS
+.\" .Sh BUGS
+.\" .Sh SECURITY CONSIDERATIONS