aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMilo Casagrande <milo.casagrande@linaro.org>2014-10-21 17:42:46 +0200
committerMilo Casagrande <milo.casagrande@linaro.org>2014-10-21 17:42:46 +0200
commit065aa60d12d9d96dffb4e80287f35754ed25413b (patch)
treea2e1651239cc72619e58eb75efc7937c75c84414 /doc
parent947f830d892faae85f0b4614b50aabf45aea31ca (diff)
doc: Use the new __version__ and __versionfull__ values.
Change-Id: I1179a9200791e1f8c62fc4eeefb34c96a972689f
Diffstat (limited to 'doc')
-rw-r--r--doc/conf.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 5ec75d6..55f5b08 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -20,6 +20,11 @@ import sphinx_bootstrap_theme
# 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.
#sys.path.insert(0, os.path.abspath('.'))
+sys.path.insert(
+ 0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
+)
+
+from app import __version__, __versionfull__
# -- General configuration ------------------------------------------------
@@ -52,9 +57,9 @@ copyright = u'2014, Linaro Ltd.'
# built documents.
#
# The short X.Y version.
-version = '2014.10'
+version = __version__
# The full version, including alpha/beta/rc tags.
-release = '2014.10'
+release = __versionfull__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.