fix #131: add build time option: CLIENT_PREFIX
[awesomized/libmemcached] / docs / conf.py.in
index 84d6eccb4b8c2c1a264c5b312058db382093d9ff..690df35833c3a465d03ff3fe991b765d4af3e68c 100644 (file)
@@ -1,15 +1,4 @@
 # -*- coding: utf-8 -*-
-#
-# libmemcached documentation build configuration file, created by
-# sphinx-quickstart on Sun Mar  6 12:05:53 2011.
-#
-# This file is execfile()d with the current directory set to its containing dir.
-#
-# Note that not all possible configuration values are present in this
-# autogenerated file.
-#
-# All configuration values have a default; values that are commented out
-# serve to show the default.
 
 import sys, os
 
@@ -18,337 +7,230 @@ import sys, os
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 #sys.path.insert(0, os.path.abspath('.'))
 
+
 # -- General configuration -----------------------------------------------------
 
-# If your documentation needs a minimal Sphinx version, state it here.
 #needs_sphinx = '1.0'
-
-# Add any Sphinx extension module names here, as strings. They can be extensions
-# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = []
-
-extensions = ['sphinxcontrib.googleanalytics']
-
-# Google 
-googleanalytics_id = 'UA-15307604-2'
-googleanalytics_enabled = 'True'
-
-# Add any paths that contain templates here, relative to this directory.
+extensions = [@SPHINX_EXTENSIONS@]
 templates_path = ['_templates']
-
-# The suffix of source filenames.
 source_suffix = '.rst'
-
-# The encoding of source files.
-#source_encoding = 'utf-8-sig'
-
-# The master toctree document.
 master_doc = 'index'
-
-# General information about the project.
-project = u'libmemcached'
-copyright = u'2011, Brian Aker DataDifferential, http://datadifferential.com/'
-
-# The version info for the project you're documenting, acts as replacement for
-# |version| and |release|, also used in various other places throughout the
-# built documents.
-#
-# The short X.Y version.
-version = '@VERSION@'
-# The full version, including alpha/beta/rc tags.
-release = '@VERSION@'
-
-# The language for content autogenerated by Sphinx. Refer to documentation
-# for a list of supported languages.
-#language = None
-
-# There are two options for replacing |today|: either, you set today to some
-# non-false value, then it is used:
-#today = ''
-# Else, today_fmt is used as the format for a strftime call.
-#today_fmt = '%B %d, %Y'
-
-# List of patterns, relative to source directory, that match files and
-# directories to ignore when looking for source files.
-exclude_patterns = ['_build']
-
-# The reST default role (used for this markup: `text`) to use for all documents.
-#default_role = None
-
-# If true, '()' will be appended to :func: etc. cross-reference text.
-#add_function_parentheses = True
-
-# If true, the current module name will be prepended to all description
-# unit titles (such as .. function::).
-#add_module_names = True
-
-# If true, sectionauthor and moduleauthor directives will be shown in the
-# output. They are ignored by default.
-#show_authors = False
-
-# The name of the Pygments (syntax highlighting) style to use.
 pygments_style = 'sphinx'
 
-# A list of ignored prefixes for module index sorting.
-#modindex_common_prefix = []
-
-
-# -- Options for HTML output ---------------------------------------------------
-
-# The theme to use for HTML and HTML Help pages.  See the documentation for
-# a list of builtin themes.
-html_theme = 'default'
-
-# Theme options are theme-specific and customize the look and feel of a theme
-# further.  For a list of options available for each theme, see the
-# documentation.
-#html_theme_options = {}
-
-# Add any paths that contain custom themes here, relative to this directory.
-#html_theme_path = []
-
-# The name for this set of Sphinx documents.  If None, it defaults to
-# "<project> v<release> documentation".
-#html_title = None
-
-# A shorter title for the navigation bar.  Default is the same as html_title.
-#html_short_title = None
-
-# The name of an image file (relative to this directory) to place at the top
-# of the sidebar.
-#html_logo = None
+primary_domain = 'cpp'
+default_role = 'any'
 
-# The name of an image file (within the static path) to use as favicon of the
-# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
-# pixels large.
-#html_favicon = None
+project = u'libmemcached-awesome'
+version = '@PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@'
+release = '@PROJECT_VERSION@'
 
-# Add any paths that contain custom static files (such as style sheets) here,
-# relative to this directory. They are copied after the builtin static files,
-# so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ['_static']
+smartquotes = False
+m2r_parse_relative_links = True
 
-# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
-# using the given strftime format.
-#html_last_updated_fmt = '%b %d, %Y'
-
-# If true, SmartyPants will be used to convert quotes and dashes to
-# typographically correct entities.
-#html_use_smartypants = True
-
-# Custom sidebar templates, maps document names to template names.
-#html_sidebars = {}
-
-# Additional templates that should be rendered to pages, maps page names to
-# template names.
-#html_additional_pages = {}
-
-# If false, no module index is generated.
-#html_domain_indices = True
-
-# If false, no index is generated.
-#html_use_index = True
-
-# If true, the index is split into individual pages for each letter.
-#html_split_index = False
+# -- Options for HTML output ---------------------------------------------------
 
-# If true, links to the reST sources are added to the pages.
+html_theme = '@SPHINX_THEME@'
+html_theme_options = {@SPHINX_THEME_OPTIONS@}
+html_domain_indices = False
 html_show_sourcelink = False
+html_copy_source = False
+#manpages_url = 'http://man7.org/linux/man-pages/man{section}/{page}.{section}.html'
+manpages_url = 'https://linux.die.net/man/{section}/{page}'
 
-# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
-#html_show_sphinx = True
-
-# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-#html_show_copyright = True
-
-# If true, an OpenSearch description file will be output, and all pages will
-# contain a <link> tag referring to it.  The value of this option must be the
-# base URL from which the finished HTML is served.
-#html_use_opensearch = ''
-
-# This is the file name suffix for HTML files (e.g. ".xhtml").
-#html_file_suffix = None
-
-# Output file base name for HTML help builder.
-htmlhelp_basename = 'libmemcacheddoc'
-
-
-# -- Options for LaTeX output --------------------------------------------------
-
-# The paper size ('letter' or 'a4').
-#latex_paper_size = 'letter'
-
-# The font size ('10pt', '11pt' or '12pt').
-#latex_font_size = '10pt'
-
-# Grouping the document tree into LaTeX files. List of tuples
-# (source start file, target name, title, author, documentclass [howto/manual]).
-latex_documents = [
-  ('index', 'libmemcached.tex', u'libmemcached Documentation',
-   u'Brian Aker', 'manual'),
-]
-
-# The name of an image file (relative to this directory) to place at the top of
-# the title page.
-#latex_logo = None
-
-# For "manual" documents, if this is true, then toplevel headings are parts,
-# not chapters.
-#latex_use_parts = False
-
-# If true, show page references after internal links.
-#latex_show_pagerefs = False
-
-# If true, show URL addresses after external links.
-#latex_show_urls = False
-
-# Additional stuff for the LaTeX preamble.
-#latex_preamble = ''
-
-# Documents to append as an appendix to all manuals.
-#latex_appendices = []
-
-# If false, no module index is generated.
-#latex_domain_indices = True
-
+html_context = {
+  'display_github': True,
+  'github_user': 'awesomized',
+  'github_repo': 'libmemcached',
+  'github_version': 'v1.x/docs/source/'
+}
 
 # -- Options for manual page output --------------------------------------------
 
+# Skip a separate AUTHOR section
+man_authors = []
+
 # One entry per manual page. List of tuples
 # (source start file, name, description, authors, manual section).
 man_pages = [
-  ('hashkit_create', 'hashkit_clone', u'libhashkit Documentation', [u'Brian Aker'], 3),
-  ('hashkit_create', 'hashkit_create', u'libhashkit Documentation', [u'Brian Aker'], 3),
-  ('hashkit_create', 'hashkit_free', u'libhashkit Documentation', [u'Brian Aker'], 3),
-  ('hashkit_create', 'hashkit_is_allocated', u'libhashkit Documentation', [u'Brian Aker'], 3),
-  ('hashkit_functions', 'hashkit_crc32', u'libhashkit Documentation', [u'Brian Aker'], 3),
-  ('hashkit_functions', 'hashkit_fnv1_32', u'libhashkit Documentation', [u'Brian Aker'], 3),
-  ('hashkit_functions', 'hashkit_fnv1_64', u'libhashkit Documentation', [u'Brian Aker'], 3),
-  ('hashkit_functions', 'hashkit_fnv1a_32', u'libhashkit Documentation', [u'Brian Aker'], 3),
-  ('hashkit_functions', 'hashkit_fnv1a_64', u'libhashkit Documentation', [u'Brian Aker'], 3),
-  ('hashkit_functions', 'hashkit_functions', u'libhashkit Documentation', [u'Brian Aker'], 3),
-  ('hashkit_functions', 'hashkit_hsieh', u'libhashkit Documentation', [u'Brian Aker'], 3),
-  ('hashkit_functions', 'hashkit_jenkins', u'libhashkit Documentation', [u'Brian Aker'], 3),
-  ('hashkit_functions', 'hashkit_md5', u'libhashkit Documentation', [u'Brian Aker'], 3),
-  ('hashkit_functions', 'hashkit_murmur', u'libhashkit Documentation', [u'Brian Aker'], 3),
-  ('hashkit_value', 'hashkit_value', u'libhashkit Documentation', [u'Brian Aker'], 3),
-  ('libhashkit', 'libhashkit', u'libhashkit Documentation', [u'Brian Aker'], 3),
-  ('libmemcached', 'libmemcached', u'Introducing the C Client Library for memcached', [u'Brian Aker'], 3),
-  ('libmemcached_configuration', 'libmemcached_check_configuration', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('libmemcached_configuration', 'libmemcached_configuration', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('libmemcached_configuration', 'memcached', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('libmemcached_examples', 'libmemcached_examples', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('libmemcachedutil', 'libmemcachedutil', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memaslap', 'memaslap', u'libmemcached Documentation', [u'Brian Aker'], 1),
-  ('memcached_analyze', 'memcached_analyze', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_append', 'memcached_append', u'Appending to or Prepending to data on the server', [u'Brian Aker'], 3),
-  ('memcached_append', 'memcached_append_by_key', u'Appending to or Prepending to data on the server', [u'Brian Aker'], 3),
-  ('memcached_append', 'memcached_prepend', u'Appending to or Prepending to data on the server', [u'Brian Aker'], 3),
-  ('memcached_append', 'memcached_prepend_by_key', u'Appending to or Prepending to data on the server', [u'Brian Aker'], 3),
-  ('memcached_auto', 'memcached_auto', u'Incrementing and Decrementing Values', [u'Brian Aker'], 3),
-  ('memcached_auto', 'memcached_decrement', u'Incrementing and Decrementing Values', [u'Brian Aker'], 3),
-  ('memcached_auto', 'memcached_decrement_with_initial', u'Incrementing and Decrementing Values', [u'Brian Aker'], 3),
-  ('memcached_auto', 'memcached_increment', u'Incrementing and Decrementing Values', [u'Brian Aker'], 3),
-  ('memcached_auto', 'memcached_increment_with_initial', u'Incrementing and Decrementing Values', [u'Brian Aker'], 3),
-  ('memcached_behavior', 'memcached_behavior', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_behavior', 'memcached_behavior_get', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_behavior', 'memcached_behavior_set', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_callback', 'memcached_callback', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_callback', 'memcached_callback_get', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_callback', 'memcached_callback_set', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_cas', 'memcached_cas', u'Working with data on the server in an atomic fashion', [u'Brian Aker'], 3),
-  ('memcached_cas', 'memcached_cas_by_key', u'Storing and Replacing Data', [u'Brian Aker'], 3),
-  ('memcached_create', 'memcached_clone', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_create', 'memcached_create', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_create', 'memcached_free', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_create', 'memcached_servers_reset', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_delete', 'memcached_delete', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_delete', 'memcached_delete_by_key', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_dump', 'memcached_dump', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_flush', 'memcached_flush', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_flush_buffers', 'memcached_flush_buffers', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_generate_hash_value', 'memcached_generate_hash', u'Generating hash values directly', [u'Brian Aker'], 3),
-  ('memcached_generate_hash_value', 'memcached_generate_hash_value', u'Generating hash values directly', [u'Brian Aker'], 3),
-  ('memcached_get', 'memcached_fetch', u'Retrieving data from the server', [u'Brian Aker'], 3),
-  ('memcached_get', 'memcached_fetch_execute', u'Retrieving data from the server', [u'Brian Aker'], 3),
-  ('memcached_get', 'memcached_fetch_result', u'Retrieving data from the server', [u'Brian Aker'], 3),
-  ('memcached_get', 'memcached_get', u'Retrieving data from the server', [u'Brian Aker'], 3),
-  ('memcached_get', 'memcached_get_by_key', u'Retrieving data from the server', [u'Brian Aker'], 3),
-  ('memcached_get', 'memcached_mget', u'Retrieving data from the server', [u'Brian Aker'], 3),
-  ('memcached_get', 'memcached_mget_by_key', u'Retrieving data from the server', [u'Brian Aker'], 3),
-  ('memcached_get', 'memcached_mget_execute', u'Retrieving data from the server', [u'Brian Aker'], 3),
-  ('memcached_get', 'memcached_mget_execute_by_key', u'Retrieving data from the server', [u'Brian Aker'], 3),
-  ('memcached_memory_allocators', 'memcached_get_memory_allocators', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_memory_allocators', 'memcached_memory_allocators', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_memory_allocators', 'memcached_set_memory_allocators', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_memory_allocators', 'memcached_set_memory_allocators_context', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_pool', 'memcached_pool', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_pool', 'memcached_pool_behavior_get', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_pool', 'memcached_pool_behavior_set', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_pool', 'memcached_pool_create', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_pool', 'memcached_pool_destroy', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_pool', 'memcached_pool_pop', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_pool', 'memcached_pool_push', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_pool', 'memcached_pool_push', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_pool', 'memcached_pool_st', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_quit', 'memcached_quit', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_result_st', 'memcached_result_cas', u'Working with result sets', [u'Brian Aker'], 3),
-  ('memcached_result_st', 'memcached_result_create', u'Working with result sets', [u'Brian Aker'], 3),
-  ('memcached_result_st', 'memcached_result_flags', u'Working with result sets', [u'Brian Aker'], 3),
-  ('memcached_result_st', 'memcached_result_free', u'Working with result sets', [u'Brian Aker'], 3),
-  ('memcached_result_st', 'memcached_result_key_length', u'Working with result sets', [u'Brian Aker'], 3),
-  ('memcached_result_st', 'memcached_result_key_value', u'Working with result sets', [u'Brian Aker'], 3),
-  ('memcached_result_st', 'memcached_result_length', u'Working with result sets', [u'Brian Aker'], 3),
-  ('memcached_result_st', 'memcached_result_st', u'Working with result sets', [u'Brian Aker'], 3),
-  ('memcached_result_st', 'memcached_result_value', u'Working with result sets', [u'Brian Aker'], 3),
-  ('memcached_sasl', 'memcached_destroy_sasl_auth_data', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_sasl', 'memcached_get_sasl_callbacks', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_sasl', 'memcached_sasl', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_sasl', 'memcached_sasl_set_auth_data', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_sasl', 'memcached_set_sasl_callbacks', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_server_st', 'memcached_server_list_append', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_server_st', 'memcached_server_list_count', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_server_st', 'memcached_server_list_free', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_server_st', 'memcached_servers_parse', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_servers', 'memcached_server_add', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_servers', 'memcached_server_add_unix_socket', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_servers', 'memcached_server_count', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_servers', 'memcached_server_cursor', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_servers', 'memcached_server_list', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_servers', 'memcached_server_push', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_servers', 'memcached_server_st', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_servers', 'memcached_servers', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_set', 'memcached_add', u'Storing and Replacing Data', [u'Brian Aker'], 3),
-  ('memcached_set', 'memcached_add_by_key', u'Storing and Replacing Data', [u'Brian Aker'], 3),
-  ('memcached_set', 'memcached_replace', u'Storing and Replacing Data', [u'Brian Aker'], 3),
-  ('memcached_set', 'memcached_replace_by_key', u'Storing and Replacing Data', [u'Brian Aker'], 3),
-  ('memcached_set', 'memcached_set', u'Storing and Replacing Data', [u'Brian Aker'], 3),
-  ('memcached_set', 'memcached_set_by_key', u'Storing and Replacing Data', [u'Brian Aker'], 3),
-  ('memcached_stats', 'memcached_stat', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_stats', 'memcached_stat_execute', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_stats', 'memcached_stat_get_keys', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_stats', 'memcached_stat_get_value', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_stats', 'memcached_stat_servername', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_stats', 'memcached_stats', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_strerror', 'memcached_strerror', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_user_data', 'memcached_get_user_data', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_user_data', 'memcached_set_user_data', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_user_data', 'memcached_user_data', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_verbosity', 'memcached_verbosity', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_version', 'memcached_lib_version', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcached_version', 'memcached_version', u'libmemcached Documentation', [u'Brian Aker'], 3),
-  ('memcapable', 'memcapable', u'libmemcached Documentation', [u'Brian Aker'], 1),
-  ('memcapable', 'memcapable', u'libmemcached Documentation', [u'Brian Aker'], 1),
-  ('memcat', 'memcat', u'libmemcached Documentation', [u'Brian Aker'], 1),
-  ('memcat', 'memcat', u'libmemcached Documentation', [u'Brian Aker'], 1),
-  ('memcp', 'memcp', u'libmemcached Documentation', [u'Brian Aker'], 1),
-  ('memcp', 'memcp', u'libmemcached Documentation', [u'Brian Aker'], 1),
-  ('memdump', 'memdump', u'libmemcached Documentation', [u'Brian Aker'], 1),
-  ('memdump', 'memdump', u'libmemcached Documentation', [u'Brian Aker'], 1),
-  ('memerror', 'memerror', u'libmemcached Documentation', [u'Brian Aker'], 1),
-  ('memerror', 'memerror', u'libmemcached Documentation', [u'Brian Aker'], 1),
-  ('memflush', 'memflush', u'libmemcached Documentation', [u'Brian Aker'], 1),
-  ('memrm', 'memrm', u'libmemcached Documentation', [u'Brian Aker'], 1),
-  ('memslap', 'memslap', u'libmemcached Documentation', [u'Brian Aker'], 1),
-  ('memstat', 'memstat', u'libmemcached Documentation', [u'Brian Aker'], 1),
+  ('libhashkit/index'                          ,'libhashkit'                              ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_create'                 ,'hashkit_clone'                           ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_create'                 ,'hashkit_create'                          ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_create'                 ,'hashkit_free'                            ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_create'                 ,'hashkit_is_allocated'                    ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_function'               ,'hashkit_function'                        ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_function'               ,'hashkit_get_distribution_function'       ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_function'               ,'hashkit_get_function'                    ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_function'               ,'hashkit_set_custom_distribution_function',u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_function'               ,'hashkit_set_custom_function'             ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_function'               ,'hashkit_set_distribution_function'       ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_function'               ,'hashkit_set_function'                    ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_functions'              ,'hashkit_crc32'                           ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_functions'              ,'hashkit_fnv1_32'                         ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_functions'              ,'hashkit_fnv1_64'                         ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_functions'              ,'hashkit_fnv1a_32'                        ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_functions'              ,'hashkit_fnv1a_64'                        ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_functions'              ,'hashkit_functions'                       ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_functions'              ,'hashkit_hsieh'                           ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_functions'              ,'hashkit_jenkins'                         ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_functions'              ,'hashkit_md5'                             ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_functions'              ,'hashkit_murmur'                          ,u'libhashkit Documentation'            ,man_authors,3),
+  ('libhashkit/hashkit_value'                  ,'hashkit_value'                           ,u'libhashkit Documentation'            ,man_authors,3),
+
+  ('libmemcached'                              ,'libmemcached'                            ,u'C/C++ Client Library for memcached'  ,man_authors,3),
+  ('libmemcached/configuration'                ,'libmemcached_check_configuration'        ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/configuration'                ,'libmemcached_configuration'              ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/configuration'                ,'memcached'                               ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/examples'                     ,'libmemcached_examples'                   ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_analyze'            ,'memcached_analyze'                       ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_append'             ,'memcached_append_by_key'                 ,u'Appending to or Prepending Data'     ,man_authors,3),
+  ('libmemcached/memcached_append'             ,'memcached_append'                        ,u'Appending to or Prepending Data'     ,man_authors,3),
+  ('libmemcached/memcached_append'             ,'memcached_prepend_by_key'                ,u'Appending to or Prepending Data'     ,man_authors,3),
+  ('libmemcached/memcached_append'             ,'memcached_prepend'                       ,u'Appending to or Prepending Data'     ,man_authors,3),
+  ('libmemcached/memcached_auto'               ,'memcached_auto'                          ,u'Incrementing and Decrementing Values',man_authors,3),
+  ('libmemcached/memcached_auto'               ,'memcached_decrement'                     ,u'Incrementing and Decrementing Values',man_authors,3),
+  ('libmemcached/memcached_auto'               ,'memcached_decrement_with_initial'        ,u'Incrementing and Decrementing Values',man_authors,3),
+  ('libmemcached/memcached_auto'               ,'memcached_increment'                     ,u'Incrementing and Decrementing Values',man_authors,3),
+  ('libmemcached/memcached_auto'               ,'memcached_increment_with_initial'        ,u'Incrementing and Decrementing Values',man_authors,3),
+  ('libmemcached/memcached_behavior'           ,'memcached_behavior_get'                  ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_behavior'           ,'memcached_behavior_set'                  ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_behavior'           ,'memcached_behavior'                      ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_callback'           ,'memcached_callback_get'                  ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_callback'           ,'memcached_callback_set'                  ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_callback'           ,'memcached_callback'                      ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_cas'                ,'memcached_cas_by_key'                    ,u'Storing and Replacing Data'          ,man_authors,3),
+  ('libmemcached/memcached_cas'                ,'memcached_cas'                           ,u'Atomic Compare and Swap'             ,man_authors,3),
+  ('libmemcached/memcached_create'             ,'memcached_clone'                         ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_create'             ,'memcached_create'                        ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_create'             ,'memcached_free'                          ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_create'             ,'memcached_servers_reset'                 ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_delete'             ,'memcached_delete_by_key'                 ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_delete'             ,'memcached_delete'                        ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_dump'               ,'memcached_dump'                          ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_exist'              ,'memcached_exist_by_key'                  ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_exist'              ,'memcached_exist'                         ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_fetch'              ,'memcached_fetch'                         ,u'Retrieving data from the server'     ,man_authors,3),
+  ('libmemcached/memcached_flush_buffers'      ,'memcached_flush_buffers'                 ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_flush'              ,'memcached_flush'                         ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_generate_hash_value','memcached_generate_hash'                 ,u'Generating hash values directly'     ,man_authors,3),
+  ('libmemcached/memcached_generate_hash_value','memcached_generate_hash_value'           ,u'Generating hash values directly'     ,man_authors,3),
+  ('libmemcached/memcached_get'                ,'memcached_fetch_execute'                 ,u'Retrieving data from the server'     ,man_authors,3),
+  ('libmemcached/memcached_get'                ,'memcached_fetch_result'                  ,u'Retrieving data from the server'     ,man_authors,3),
+  ('libmemcached/memcached_get'                ,'memcached_get_by_key'                    ,u'Retrieving data from the server'     ,man_authors,3),
+  ('libmemcached/memcached_get'                ,'memcached_get'                           ,u'Retrieving data from the server'     ,man_authors,3),
+  ('libmemcached/memcached_get'                ,'memcached_mget_by_key'                   ,u'Retrieving data from the server'     ,man_authors,3),
+  ('libmemcached/memcached_get'                ,'memcached_mget_execute_by_key'           ,u'Retrieving data from the server'     ,man_authors,3),
+  ('libmemcached/memcached_get'                ,'memcached_mget_execute'                  ,u'Retrieving data from the server'     ,man_authors,3),
+  ('libmemcached/memcached_get'                ,'memcached_mget'                          ,u'Retrieving data from the server'     ,man_authors,3),
+  ('libmemcached/memcached_last_error'         ,'memcached_last_error_errno'              ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_last_error'         ,'memcached_last_error_message'            ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_last_error'         ,'memcached_last_error'                    ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_memory_allocators'  ,'memcached_get_memory_allocators'         ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_memory_allocators'  ,'memcached_memory_allocators'             ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_memory_allocators'  ,'memcached_set_memory_allocators_context' ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_memory_allocators'  ,'memcached_set_memory_allocators'         ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_quit'               ,'memcached_quit'                          ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_result_st'          ,'memcached_result_cas'                    ,u'Working with result sets'            ,man_authors,3),
+  ('libmemcached/memcached_result_st'          ,'memcached_result_create'                 ,u'Working with result sets'            ,man_authors,3),
+  ('libmemcached/memcached_result_st'          ,'memcached_result_flags'                  ,u'Working with result sets'            ,man_authors,3),
+  ('libmemcached/memcached_result_st'          ,'memcached_result_free'                   ,u'Working with result sets'            ,man_authors,3),
+  ('libmemcached/memcached_result_st'          ,'memcached_result_key_length'             ,u'Working with result sets'            ,man_authors,3),
+  ('libmemcached/memcached_result_st'          ,'memcached_result_key_value'              ,u'Working with result sets'            ,man_authors,3),
+  ('libmemcached/memcached_result_st'          ,'memcached_result_length'                 ,u'Working with result sets'            ,man_authors,3),
+  ('libmemcached/memcached_result_st'          ,'memcached_result_st'                     ,u'Working with result sets'            ,man_authors,3),
+  ('libmemcached/memcached_result_st'          ,'memcached_result_value'                  ,u'Working with result sets'            ,man_authors,3),
+  ('libmemcached/memcached_return_t'           ,'memcached_return_t'                      ,u'Return type values '                 ,man_authors,3),
+  ('libmemcached/memcached_sasl'               ,'memcached_destroy_sasl_auth_data'        ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_sasl'               ,'memcached_get_sasl_callbacks'            ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_sasl'               ,'memcached_sasl_set_auth_data'            ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_sasl'               ,'memcached_sasl'                          ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_sasl'               ,'memcached_set_sasl_callbacks'            ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_servers'            ,'memcached_server_add'                    ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_servers'            ,'memcached_server_add_unix_socket'        ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_servers'            ,'memcached_server_count'                  ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_servers'            ,'memcached_server_cursor'                 ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_servers'            ,'memcached_server_list'                   ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_servers'            ,'memcached_server_push'                   ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_servers'            ,'memcached_server_st'                     ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_servers'            ,'memcached_servers'                       ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_server_st'          ,'memcached_server_list_append'            ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_server_st'          ,'memcached_server_list_count'             ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_server_st'          ,'memcached_server_list_free'              ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_server_st'          ,'memcached_servers_parse'                 ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_set_encoding_key'   ,'memcached_set_encoding_key'              ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_set'                ,'memcached_add_by_key'                    ,u'Storing and Replacing Data'          ,man_authors,3),
+  ('libmemcached/memcached_set'                ,'memcached_add'                           ,u'Storing and Replacing Data'          ,man_authors,3),
+  ('libmemcached/memcached_set'                ,'memcached_replace_by_key'                ,u'Storing and Replacing Data'          ,man_authors,3),
+  ('libmemcached/memcached_set'                ,'memcached_replace'                       ,u'Storing and Replacing Data'          ,man_authors,3),
+  ('libmemcached/memcached_set'                ,'memcached_set_by_key'                    ,u'Storing and Replacing Data'          ,man_authors,3),
+  ('libmemcached/memcached_set'                ,'memcached_set'                           ,u'Storing and Replacing Data'          ,man_authors,3),
+  ('libmemcached/memcached_stats'              ,'memcached_stat_execute'                  ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_stats'              ,'memcached_stat_get_keys'                 ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_stats'              ,'memcached_stat_get_value'                ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_stats'              ,'memcached_stat_servername'               ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_stats'              ,'memcached_stats'                         ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_stats'              ,'memcached_stat'                          ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_strerror'           ,'memcached_strerror'                      ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_touch'              ,'memcached_touch_by_key'                  ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_touch'              ,'memcached_touch'                         ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_user_data'          ,'memcached_get_user_data'                 ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_user_data'          ,'memcached_set_user_data'                 ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_user_data'          ,'memcached_user_data'                     ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_verbosity'          ,'memcached_verbosity'                     ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_version'            ,'memcached_lib_version'                   ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcached/memcached_version'            ,'memcached_version'                       ,u'libmemcached Documentation'          ,man_authors,3),
+
+  ('libmemcachedutil/index'                    ,'libmemcachedutil'                        ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcachedutil/memcached_pool'           ,'memcached_pool_behavior_get'             ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcachedutil/memcached_pool'           ,'memcached_pool_behavior_set'             ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcachedutil/memcached_pool'           ,'memcached_pool_create'                   ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcachedutil/memcached_pool'           ,'memcached_pool_destroy'                  ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcachedutil/memcached_pool'           ,'memcached_pool_fetch'                    ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcachedutil/memcached_pool'           ,'memcached_pool_pop'                      ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcachedutil/memcached_pool'           ,'memcached_pool_push'                     ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcachedutil/memcached_pool'           ,'memcached_pool_release'                  ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcachedutil/memcached_pool'           ,'memcached_pool_st'                       ,u'libmemcached Documentation'          ,man_authors,3),
+  ('libmemcachedutil/memcached_pool'           ,'memcached_pool'                          ,u'libmemcached Documentation'          ,man_authors,3),
+
+  ('bin/memcapable'                            , 'memcapable'                             ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memcat'                                , 'memcat'                                 ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memcp'                                 , 'memcp'                                  ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memdump'                               , 'memdump'                                ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memerror'                              , 'memerror'                               ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memflush'                              , 'memflush'                               ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memrm'                                 , 'memrm'                                  ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memaslap'                              , 'memaslap'                               ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memslap'                               , 'memslap'                                ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memstat'                               , 'memstat'                                ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memexist'                              , 'memexist'                               ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memparse'                              , 'memparse'                               ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memping'                               , 'memping'                                ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memtouch'                              , 'memtouch'                               ,u'libmemcached Documentation'         , man_authors, 1),
   ]
+
+if '@CLIENT_PREFIX@' != 'mem' :
+    man_pages.extend([
+  ('bin/memcapable'                            , '@CLIENT_PREFIX@capable'                 ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memcat'                                , '@CLIENT_PREFIX@cat'                     ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memcp'                                 , '@CLIENT_PREFIX@cp'                      ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memdump'                               , '@CLIENT_PREFIX@dump'                    ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memerror'                              , '@CLIENT_PREFIX@error'                   ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memflush'                              , '@CLIENT_PREFIX@flush'                   ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memrm'                                 , '@CLIENT_PREFIX@rm'                      ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memaslap'                              , '@CLIENT_PREFIX@aslap'                   ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memslap'                               , '@CLIENT_PREFIX@slap'                    ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memstat'                               , '@CLIENT_PREFIX@stat'                    ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memexist'                              , '@CLIENT_PREFIX@exist'                   ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memparse'                              , '@CLIENT_PREFIX@parse'                   ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memping'                               , '@CLIENT_PREFIX@ping'                    ,u'libmemcached Documentation'         , man_authors, 1),
+  ('bin/memtouch'                              , '@CLIENT_PREFIX@touch'                   ,u'libmemcached Documentation'         , man_authors, 1),
+    ])
+
+rst_prolog = """
+.. |client_prefix| replace:: @CLIENT_PREFIX@
+.. |libhashkit_version| replace:: @LIBHASHKIT_VERSION_INC@
+.. |libmemcached_version| replace:: @LIBMEMCACHED_VERSION_INC@
+.. |libmemcachedprotocol_version| replace:: @LIBMEMCACHEDPROTOCOL_VERSION_INC@
+.. |libmemcachedutil_version| replace:: @LIBMEMCACHEDUTIL_VERSION_INC@
+"""
+
+@SPHINX_CONF_APPEND@