Skip to content

Commit 114a85e

Browse files
committed
Fix #251: Correct version information in RTD documentation.
1 parent 8d0d14f commit 114a85e

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

docs/conf.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,10 @@
55

66
sys.path.insert(0, str((basedir / "src").resolve()))
77

8-
9-
def get_version():
10-
import configparser
11-
12-
cp = configparser.ConfigParser()
13-
cp.read(basedir / "setup.cfg")
14-
return cp["metadata"]["version"]
15-
16-
178
project = "cachetools"
189
copyright = "2014-2022 Thomas Kemmer"
19-
version = get_version()
20-
release = version
10+
version = "5.2"
11+
release = "5.2.0"
2112

2213
extensions = [
2314
"sphinx.ext.autodoc",

0 commit comments

Comments
 (0)