aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/nng_close.adoc2
-rw-r--r--docs/nng_pub.adoc2
-rw-r--r--docs/nng_sub.adoc2
-rwxr-xr-xdocs/preview.sh2
4 files changed, 4 insertions, 4 deletions
diff --git a/docs/nng_close.adoc b/docs/nng_close.adoc
index 3484ef99..7358b502 100644
--- a/docs/nng_close.adoc
+++ b/docs/nng_close.adoc
@@ -24,7 +24,7 @@ SYNOPSIS
-----------
#include <nng/nng.h>
-int nng_close (int s);
+int nng_close(int s);
-----------
diff --git a/docs/nng_pub.adoc b/docs/nng_pub.adoc
index b50c2768..a0a603b8 100644
--- a/docs/nng_pub.adoc
+++ b/docs/nng_pub.adoc
@@ -27,7 +27,7 @@ SYNOPSIS
#define NNG_PROTO_PUB NNG_PROTO_PUB_V0
int nng_pub_open(nng_socket *s);
-int nng_pub0_open (nng_socket *s);
+int nng_pub0_open(nng_socket *s);
----------
diff --git a/docs/nng_sub.adoc b/docs/nng_sub.adoc
index 9aa00bdb..c7037634 100644
--- a/docs/nng_sub.adoc
+++ b/docs/nng_sub.adoc
@@ -27,7 +27,7 @@ SYNOPSIS
#define NNG_PROTO_SUB NNG_PROTO_SUB_V0
int nng_sub_open(nng_socket *s);
-int nng_sub0_open (nng_socket *s);
+int nng_sub0_open(nng_socket *s);
----------
diff --git a/docs/preview.sh b/docs/preview.sh
index 8814f1b6..57e106a7 100755
--- a/docs/preview.sh
+++ b/docs/preview.sh
@@ -57,6 +57,7 @@ if [ -n "${cleanup}" ]
then
tempdir=$(mktemp -d)
clean() {
+ sleep 1
rm -rf ${tempdir}
}
trap clean 0
@@ -77,5 +78,4 @@ for input in "$@"; do
asciidoctor -aversion-label=${name} -arevnumber=${version} \
-b ${backend} -o ${output} $input
$view $output
- sleep 1
done