summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2018-03-18 23:39:46 +0000
committerJavier Jardón <jjardon@gnome.org>2018-03-20 16:31:53 +0000
commit9cf75154aa96c67a904704a97edfe720d3a62d9a (patch)
treea01c7906222150a9c50eb6d03e374ed097bef3f3 /doc
parente2564d21d61ed1d17a40e4a10365ff1a80d7cd83 (diff)
downloadbuildstream-9cf75154aa96c67a904704a97edfe720d3a62d9a.tar.gz
source/conf.py: Keep documentation version in sync
Diffstat (limited to 'doc')
-rw-r--r--doc/source/conf.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index ab9a554eb..0255cc408 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -21,6 +21,8 @@ import os
import sys
sys.path.insert(0, os.path.abspath('..'))
+from buildstream import __version__
+
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
@@ -62,9 +64,9 @@ author = 'Tristan Van Berkom'
# built documents.
#
# The short X.Y version.
-version = '0.1'
+version = __version__
# The full version, including alpha/beta/rc tags.
-release = '0.1'
+release = __version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.