cmake: use option() in CMakeConfig.txt
[awesomized/libmemcached] / docs / source / libmemcachedutil.rst
index 692aa2ef444bda18ff2d6f4b7c4439f77a674b2f..530043ed5ecca50d87328dd7f89526ff176030a9 100644 (file)
@@ -1,6 +1,6 @@
-===========
-Introducing
-===========
+============================
+Introducing libmemcachedutil
+============================
 
 
 Utility library for libmemcached
@@ -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,34 +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`.
-
-
-----
-HOME
-----
-
-
-To find out more information please check:
-`http://libmemcached.org/ <http://libmemcached.org/>`_
-
+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`