diff --git a/docs/source/conf.py b/docs/source/conf.py index b4d3b8b..70c0d09 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -16,6 +16,8 @@ import os import sys +from rawkit import VERSION + on_rtd = os.environ.get('READTHEDOCS', None) == 'True' sys.path.insert(0, os.path.abspath('..')) @@ -62,9 +64,9 @@ # built documents. # # The short X.Y version. -version = '0.0' +version = VERSION # The full version, including alpha/beta/rc tags. -release = '0.0' +release = VERSION # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.