Skip to content

Commit

Permalink
Fix #251: Correct version information in RTD documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
tkem committed Jan 8, 2023
1 parent 8d0d14f commit 114a85e
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 114a85e

Please sign in to comment.