Skip to content

Commit

Permalink
Fixed building the documentation
Browse files Browse the repository at this point in the history
Fixes #341.
  • Loading branch information
agronholm committed Feb 29, 2020
1 parent 0036f80 commit 6da376e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
# built documents.
#
here = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(here, '..', 'wheel', '__init__.py'),
with io.open(os.path.join(here, '..', 'src', 'wheel', '__init__.py'),
encoding='utf8') as version_file:
match = re.search(r'__version__ = "((\d+\.\d+\.\d+).*)"',
match = re.search(r"__version__ = '((\d+\.\d+\.\d+).*)'",
version_file.read())
# The short X.Y version.
version = match.group(2)
Expand Down

0 comments on commit 6da376e

Please sign in to comment.