Fix reading version in docs/conf.py
This commit is contained in:
@@ -56,11 +56,10 @@ copyright = u'2015, David Arthur'
|
|||||||
# built documents.
|
# built documents.
|
||||||
#
|
#
|
||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
with open('../VERSION') as version_file:
|
exec(open('../kafka/version.py').read())
|
||||||
version = version_file.read()
|
|
||||||
|
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = version
|
release = __version__
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
|
Reference in New Issue
Block a user