aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-03-07 12:39:01 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-03-07 12:39:01 +0000
commit77f25660d4c378743ba5de7f47385d7979d357e3 (patch)
treec68906fb5319b52508988edc560b3994b34d2636 /regress
parentc30903de74e443fffffd9d160ef6911d2d434468 (diff)
downloadmandoc-77f25660d4c378743ba5de7f47385d7979d357e3.tar.gz
mandoc-77f25660d4c378743ba5de7f47385d7979d357e3.tar.zst
mandoc-77f25660d4c378743ba5de7f47385d7979d357e3.zip
Fix .In formatting in the SYNOPSIS:
No &zwnj; in the middle of **, please.
Diffstat (limited to 'regress')
-rw-r--r--regress/mdoc/Fd/Makefile2
-rw-r--r--regress/mdoc/Fd/empty.out_markdown17
-rw-r--r--regress/mdoc/In/Makefile2
-rw-r--r--regress/mdoc/In/break.out_markdown35
-rw-r--r--regress/mdoc/In/noarg.out_markdown25
5 files changed, 79 insertions, 2 deletions
diff --git a/regress/mdoc/Fd/Makefile b/regress/mdoc/Fd/Makefile
index c1c6d5dd..9c120609 100644
--- a/regress/mdoc/Fd/Makefile
+++ b/regress/mdoc/Fd/Makefile
@@ -3,6 +3,6 @@
REGRESS_TARGETS = break empty eos font
LINT_TARGETS = empty
SKIP_TMAN = eos
-MARKDOWN_TARGETS = break eos font
+MARKDOWN_TARGETS = break empty eos font
.include <bsd.regress.mk>
diff --git a/regress/mdoc/Fd/empty.out_markdown b/regress/mdoc/Fd/empty.out_markdown
new file mode 100644
index 00000000..9dc71039
--- /dev/null
+++ b/regress/mdoc/Fd/empty.out_markdown
@@ -0,0 +1,17 @@
+FD-EMPTY(1) - General Commands Manual
+
+# NAME
+
+**Fd-empty** - empty preprocessor directive macros
+
+# SYNOPSIS
+
+**#include &lt;sys/types.h>**
+**#include &lt;stdlib.h>**
+
+# DESCRIPTION
+
+leading text
+trailing text
+
+OpenBSD - February 5, 2015
diff --git a/regress/mdoc/In/Makefile b/regress/mdoc/In/Makefile
index 1c8a484f..9c92ccf4 100644
--- a/regress/mdoc/In/Makefile
+++ b/regress/mdoc/In/Makefile
@@ -2,6 +2,6 @@
REGRESS_TARGETS = break eos font noarg
LINT_TARGETS = noarg
-MARKDOWN_TARGETS = eos font
+MARKDOWN_TARGETS = break eos font noarg
.include <bsd.regress.mk>
diff --git a/regress/mdoc/In/break.out_markdown b/regress/mdoc/In/break.out_markdown
new file mode 100644
index 00000000..dbc1085f
--- /dev/null
+++ b/regress/mdoc/In/break.out_markdown
@@ -0,0 +1,35 @@
+IN-BREAK(2) - System Calls Manual
+
+# NAME
+
+**In-break** - line break before header include file
+
+# SYNOPSIS
+
+**#include &lt;fcntl.h>**
+
+*int*
+**open**(*const char \*path*, *int flags*, *mode\_t mode*);
+
+**#include &lt;sys/types.h>**
+**#include &lt;unistd.h>**
+
+*int*
+**dup**(*int oldd*);
+
+*ssize\_t*
+**write**(*int d*, *const void \*buf*, *size\_t nbytes*);
+
+# DESCRIPTION
+
+&lt;*fcntl.h*>
+*int*
+**open**(*const char \*path*, *int flags*, *mode\_t mode*)
+&lt;*sys/types.h*>
+&lt;*unistd.h*>
+*int*
+**dup**(*int oldd*)
+*ssize\_t*
+**write**(*int d*, *const void \*buf*, *size\_t nbytes*)
+
+OpenBSD - June 6, 2010
diff --git a/regress/mdoc/In/noarg.out_markdown b/regress/mdoc/In/noarg.out_markdown
new file mode 100644
index 00000000..81970226
--- /dev/null
+++ b/regress/mdoc/In/noarg.out_markdown
@@ -0,0 +1,25 @@
+IN-NOARG(2) - System Calls Manual
+
+# NAME
+
+**In-noarg** - include file macros without argument
+
+# SYNOPSIS
+
+**#include &lt;math.h>**
+
+*double*
+**sin**(*double x*);
+
+*double*
+**cos**(*double x*);
+
+# DESCRIPTION
+
+&lt;*math.h*>
+*double*
+**sin**(*double x*)
+*double*
+**cos**(*double x*)
+
+OpenBSD - February 5, 2015