Added version import from philo and made stylistic tweaks to docstrings.
[philo.git] / docs / conf.py
index ece87fc..043219d 100644 (file)
@@ -51,9 +51,10 @@ copyright = u'2011, Joseph Spiros'
 # built documents.
 #
 # The short X.Y version.
-version = '1.0'
+from philo import VERSION
+version = '%s.%s' % (VERSION[0], VERSION[1])
 # The full version, including alpha/beta/rc tags.
-release = '1.0a1'
+release = version
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.