summaryrefslogtreecommitdiffstats
path: root/doc/sphinx/conf.py
diff options
context:
space:
mode:
authorWlodzimierz Wencel <wlodek@isc.org>2024-05-24 10:13:35 +0200
committerWlodzimierz Wencel <wlodek@isc.org>2024-05-24 10:13:35 +0200
commitd2ca687d78f21fba08e18794be40db8b272db08b (patch)
tree667a64a728802e573b96b7e3b944c568857314d4 /doc/sphinx/conf.py
parent[#3427] deprecate warning for lease wipe (diff)
downloadkea-d2ca687d78f21fba08e18794be40db8b272db08b.tar.xz
kea-d2ca687d78f21fba08e18794be40db8b272db08b.zip
[#3379] added instructions about new kea repositories
Diffstat (limited to '')
-rw-r--r--doc/sphinx/conf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/sphinx/conf.py b/doc/sphinx/conf.py
index b36ec1dd8a..f0ca589908 100644
--- a/doc/sphinx/conf.py
+++ b/doc/sphinx/conf.py
@@ -47,6 +47,10 @@ with open(config_ac_path) as f:
version = release
dashed_version_series='-'.join(version.split('.')[0:2])
+# now let's replace versions with odd minor number with dev
+if int(dashed_version_series[-1]) % 2 != 0:
+ dashed_version_series = 'dev'
+
# -- General configuration ---------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.