From 77cd46e37a1097a6c9db7e625806ba262eb258f8 Mon Sep 17 00:00:00 2001
From: Marco Biasini <marco.biasini@unibas.ch>
Date: Fri, 25 Feb 2011 11:46:16 +0100
Subject: [PATCH] use ost.VERSION to set version number of documentation

---
 doc/conf/conf.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/conf/conf.py b/doc/conf/conf.py
index c99ef1783..d3d1736f3 100644
--- a/doc/conf/conf.py
+++ b/doc/conf/conf.py
@@ -20,6 +20,7 @@ sys.path.append(os.path.join(os.path.abspath('../..'),
                              'stage/lib/openstructure'))
 sys.path.append(os.path.join(os.path.abspath('../..'), 
                              'stage/lib64/openstructure'))
+import ost
 # -- General configuration -----------------------------------------------------
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
@@ -49,9 +50,9 @@ copyright = u'2010, OpenStructure authors'
 # built documents.
 #
 # The short X.Y version.
-version = '1.1'
+version = ost.VERSION
 # The full version, including alpha/beta/rc tags.
-release = '1.1'
+release = ost.VERSION
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
-- 
GitLab