Skip to content

Commit

Permalink
rebase stage 2: docs/conf.py: look for version in src/__init__.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-smith-artifex-com committed Dec 20, 2023
1 parent e385264 commit e9cb3e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
# built documents.
#
# The full version, including alpha/beta/rc tags.
_path = os.path.abspath(f'{__file__}/../../fitz/version.i')
_path = os.path.abspath(f'{__file__}/../../src/__init__.py')
with open(_path) as f:
for line in f:
match = re.search('VersionBind = "([0-9][.][0-9]+[.][0-9]+(rc[0-9]+)?)"', line)
Expand Down

0 comments on commit e9cb3e5

Please sign in to comment.