diff --git a/doc/conf.py b/doc/conf.py index 6f3fbc3d..2a66f2fe 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -40,7 +40,7 @@ # # The full version, including alpha/beta/rc tags. with open("../src/sphinxcontrib/bibtex/__init__.py", "rt") as version_file: - release = re.search("'version': '(.+)'", version_file.read()).group(1) + release = re.search('"version": "(.+)"', version_file.read()).group(1) # The short X.Y version. version = ".".join(release.split(".")[:2])