From 0ddaee41ec753805fa12eeabd679870802528dac Mon Sep 17 00:00:00 2001
From: Garrett D'Amore <garrett@damore.org>
Date: Tue, 29 May 2018 17:03:51 -0700
Subject: fixes #495 SEE ALSO should use [align=left] fixes #494 ERRORS section
 should use [horizontal]

These changes address some basic formatting consistency things,
and ultimately (when combined with other tooling changes that are
not part of this repo) lead to vastly improved layout in the
printed documentation.

While here we removed trailing whitespace, and did certain other
minor markup tweaks.
---
 docs/man/nng_device.3.adoc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'docs/man/nng_device.3.adoc')

diff --git a/docs/man/nng_device.3.adoc b/docs/man/nng_device.3.adoc
index 4f036d03..807d8e54 100644
--- a/docs/man/nng_device.3.adoc
+++ b/docs/man/nng_device.3.adoc
@@ -58,7 +58,7 @@ In this case sockets _s1_ and _s2_ must be "`compatible`" with each other,
 which is to say that they should represent the opposite halves of a two
 protocol pattern, or both be the same protocol for a single protocol
 pattern.
-For example, if _s1_ is a <<nng_pub.7#,_pub_>> socket, then _s2_ must 
+For example, if _s1_ is a <<nng_pub.7#,_pub_>> socket, then _s2_ must
 be a <<nng_sub.7#,_sub_>> socket.
 Or, if _s1_ is a <<nng_bus.7#,_bus_>> socket, then _s2_ must also
 be a _bus_ socket.
@@ -102,12 +102,14 @@ one occurs, or if one of the sockets is closed.
 
 == ERRORS
 
+[horizontal]
 `NNG_ECLOSED`:: At least one of the sockets is not open.
 `NNG_ENOMEM`:: Insufficient memory is available.
 `NNG_EINVAL`:: The sockets are not compatible, or are both invalid.
 
 == SEE ALSO
 
+[.text-left]
 <<nng_options.5#,nng_options(5)>>,
 <<nng_socket.5#,nng_socket(5)>>,
 <<nng.7#,nng(7)>>
-- 
cgit v1.2.3-70-g09d2

