diff --git a/source/conf.py b/source/conf.py index 36301f7..effb280 100644 --- a/source/conf.py +++ b/source/conf.py @@ -12,8 +12,8 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # -# import os -# import sys +import os +import sys # sys.path.insert(0, os.path.abspath('.')) @@ -24,9 +24,9 @@ author = 'George K. Thiruvathukal' # The short X.Y version -version = '' +version = os.environ.get("BOOK_VERSION", "beta") # The full version, including alpha/beta/rc tags -release = '0.1' +release = version # -- General configuration ---------------------------------------------------