updated conf.py to inject cekit version dynamically
# 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
-# sys.path.insert(0, os.path.abspath('.'))
+import os
+import sys
+sys.path.insert(0, os.path.abspath('..'))
+from cekit import version as cekit_version
# -- General configuration ------------------------------------------------
@@ -54,9 +55,9 @@ author = u'Cekit Team'
# built documents.
#
# The short X.Y version.
-version = u'2.0'
+version = '.'.join(cekit_version.split('.')[0:2])
# The full version, including alpha/beta/rc tags.
-release = u'2.0'
+release = cekit_version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
