From cb5af77650badaf1eb8888ecd284dae7b5fdd3e3 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 26 Oct 2017 15:38:40 -0700 Subject: Minor format changes, tie the sleep in preview to script exit. --- docs/nng_close.adoc | 2 +- docs/nng_pub.adoc | 2 +- docs/nng_sub.adoc | 2 +- docs/preview.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') 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 -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 -- cgit v1.2.3-70-g09d2