docs: semver
authorMichael Wallner <mike@php.net>
Thu, 17 Dec 2020 19:58:28 +0000 (20:58 +0100)
committerMichael Wallner <mike@php.net>
Thu, 17 Dec 2020 19:58:28 +0000 (20:58 +0100)
docs/conf.py.in
docs/source/libmemcachedutil/index.rst
docs/source/libmemcachedutil/memcached_pool.rst

index a0dc5baa0581ad28d1856169a75c9f2539c969d5..c582244f92b6ff4378f0a6242ab59369011a895c 100644 (file)
@@ -208,8 +208,10 @@ man_pages = [
   ]
 
 rst_prolog = """
-.. |libhashkit_version| replace:: @LIBHASHKIT_VERSION_MAJOR@.@LIBHASHKIT_VERSION_MINOR@
-.. |libmemcached_version| replace:: @LIBMEMCACHED_VERSION_MAJOR@.@LIBMEMCACHED_VERSION_MINOR@
+.. |libhashkit_version| replace:: @LIBHASHKIT_VERSION_MAJOR@
+.. |libmemcached_version| replace:: @LIBMEMCACHED_VERSION_MAJOR@
+.. |libmemcachedprotocol_version| replace:: @LIBMEMCACHEDPROTOCOL_VERSION_MAJOR@
+.. |libmemcachedutil_version| replace:: @LIBMEMCACHEDUTIL_VERSION_MAJOR@
 """
 
 @SPHINX_CONF_APPEND@
index 0d8f65c81271360fb073655103d8a3edf240f815..7507314e4f86d175054f4732f5b5457b32f563be 100644 (file)
@@ -6,7 +6,7 @@ Utility library for libmemcached
 SYNOPSIS
 --------
 
-#include <libmemcachedutil-|libmemcached_version|/util.h>
+#include <libmemcachedutil-|libmemcachedutil_version|/util.h>
   Compile and link with -lmemcachedutil -lmemcached
 
 DESCRIPTION
index 3b954e3a78799e4607b9ed7310dc1e71f59de8e0..f811a921f77d5ad87ac94126006d57ea90ca07ae 100644 (file)
@@ -4,7 +4,7 @@ Working with memcached pools
 SYNOPSIS
 --------
 
-#include <libmemcachedutil-|libmemcached_version|/pool.h>
+#include <libmemcachedutil-|libmemcachedutil_version|/pool.h>
   Compile and link with -lmemcachedutil -lmemcached
 
 .. type:: struct memcached_pool_st memcached_pool_st