Skip to content

Commit 8ff868d

Browse files
committed
get version of doc from version.txt
1 parent 5caca03 commit 8ff868d

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
@@ -23,7 +23,8 @@
2323
author = "the CPP ROI dev team"
2424

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

2829

2930
# -- General configuration ---------------------------------------------------

0 commit comments

Comments
 (0)