Skip to content

Commit

Permalink
Fix doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmtroffaes committed Aug 22, 2023
1 parent b171dab commit 27b03ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down

0 comments on commit 27b03ad

Please sign in to comment.