Skip to content

Commit 224f416

Browse files
committed
Get version number for Sphinx docs from VERSION
1 parent 48c2eb3 commit 224f416

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
# built documents.
6060
#
6161
# The short X.Y version.
62-
version = u'1.0.0'
62+
version = open("../../VERSION").read().strip()
6363
# The full version, including alpha/beta/rc tags.
64-
release = u'1.0.0'
64+
release = version
6565

6666
# The language for content autogenerated by Sphinx. Refer to documentation
6767
# for a list of supported languages.

0 commit comments

Comments
 (0)