From 114a85ebc91a100dda55d3a32ad259ccedee75e2 Mon Sep 17 00:00:00 2001 From: Thomas Kemmer Date: Sun, 8 Jan 2023 21:26:57 +0100 Subject: [PATCH] Fix #251: Correct version information in RTD documentation. --- docs/conf.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index b4287f1..ea0a01a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -5,19 +5,10 @@ sys.path.insert(0, str((basedir / "src").resolve())) - -def get_version(): - import configparser - - cp = configparser.ConfigParser() - cp.read(basedir / "setup.cfg") - return cp["metadata"]["version"] - - project = "cachetools" copyright = "2014-2022 Thomas Kemmer" -version = get_version() -release = version +version = "5.2" +release = "5.2.0" extensions = [ "sphinx.ext.autodoc",