summaryrefslogtreecommitdiffstatshomepage
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
commit2677411c0d09fa40d38fa39fd550e9c9068f5959 (patch)
tree0ea1d4a2725f7aa1b77bba2f4ca621d3ae0779ff /mdoc.template
parent956a32ced8b03e63533433f33625ce01588e46a7 (diff)
downloadmandoc-2677411c0d09fa40d38fa39fd550e9c9068f5959.tar.gz
mandoc-2677411c0d09fa40d38fa39fd550e9c9068f5959.tar.zst
mandoc-2677411c0d09fa40d38fa39fd550e9c9068f5959.zip
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