aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Sh/parborder.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-04-28 16:25:11 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-04-28 16:25:11 +0000
commit882c99984a5b562bef7d6cb4685a04fba62a7852 (patch)
tree806d72afda8a901a2508650bc8709273fc406040 /regress/mdoc/Sh/parborder.in
parentd51f0eb00a1f1de1dcc22dfa0a16ffbd2d0a623a (diff)
downloadmandoc-882c99984a5b562bef7d6cb4685a04fba62a7852.tar.gz
mandoc-882c99984a5b562bef7d6cb4685a04fba62a7852.tar.zst
mandoc-882c99984a5b562bef7d6cb4685a04fba62a7852.zip
Delete .Pp right before the first .Sh and right before any .Ss,
and warn about it; mdoclint(1) does so, and it makes sense.
Diffstat (limited to 'regress/mdoc/Sh/parborder.in')
-rw-r--r--regress/mdoc/Sh/parborder.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/regress/mdoc/Sh/parborder.in b/regress/mdoc/Sh/parborder.in
new file mode 100644
index 00000000..a909a0cf
--- /dev/null
+++ b/regress/mdoc/Sh/parborder.in
@@ -0,0 +1,21 @@
+.Dd April 28, 2017
+.Dt SH-PARBORDER 1
+.Os OpenBSD
+.Sh NAME
+.Nm Sh-parborder
+.Nd paragraph macros at the beginning and end of sections
+.Sh DESCRIPTION
+.Pp
+descriptive text
+.Pp
+.Sh EXAMPLES
+.Pp
+example text
+.Pp
+.Ss Subsection
+.Pp
+subsection text
+.Pp
+.Ss Another subsection
+more subsection text
+.Pp