Skip to content

Commit 594c847

Browse files
committed
for doc read version from version.txt
1 parent 6e918fd commit 594c847

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
author = "Rémi Gau"
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = "v0.2.0dev"
25+
with open('../../version.txt', encoding='utf-8') as version_file:
26+
release = version_file.read()
2627

2728

2829
# -- General configuration ---------------------------------------------------

0 commit comments

Comments
 (0)