docs: sanitize
[m6w6/libmemcached] / docs / source / libmemcachedutil.rst
index 9c8691753fe853a563ce563c1706b8e0534ec7cd..530043ed5ecca50d87328dd7f89526ff176030a9 100644 (file)
@@ -10,12 +10,8 @@ Utility library for libmemcached
 SYNOPSIS
 --------
 
-.. code-block:: c
-
-   cc [ flag ... ] file ... -lmemcachedutil
-   #include <libmemcached/memcached_util.h>
-
+#include <libmemcached/memcached_util.h>
+  Compile and link with -lmemcachedutil
 
 
 -----------
@@ -23,24 +19,32 @@ DESCRIPTION
 -----------
 
 
-:program:`libmemcachedutil`  is a small and thread-safe client library that 
-provides extra functionality built on top of :program:`libmemcached`.
+`libmemcachedutil` is a small and thread-safe client library that
+provides extra functionality built on top of `libmemcached`.
 
 
 -------
 THREADS
 -------
 
-
 Do not try to access an instance of :c:type:`memcached_st` from multiple threads
 at the same time. If you want to access memcached from multiple threads
 you should either clone the :c:type:`memcached_st`, or use the memcached pool
-implementation. see :c:func:`memcached_pool_create`.
+implementation. See :c:func:`memcached_pool_create`.
 
 --------
 SEE ALSO
 --------
 
+.. only:: man
+
+    :manpage:`libmemcached(3)`
+    :manpage:`memcached_pool(3)`
+    :manpage:`memcached_pool_destroy(3)`
+    :manpage:`memcached_pool_pop(3)`
+    :manpage:`memcached_pool_push(3)`
 
-:manpage:`libmemcached(3)` :manpage:`memcached_pool_create(3)` :manpage:`memcached_pool_destroy(3)` :manpage:`memcached_pool_pop(3)` :manpage:`memcached_pool_push(3)`
+.. only:: html
 
+    * :doc:`libmemcached`
+    * :doc:`memcached_pool`