summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdolfo Fitoria <adolfo.fitoria@gmail.com>2011-08-22 18:44:26 -0300
committerAdolfo Fitoria <adolfo.fitoria@gmail.com>2011-08-22 18:49:29 -0300
commitac490e441b69497f54cb33d2af452f9c9b934914 (patch)
tree2bb52dd0d84f54169d3fafa081c78adfa2b3737b
parent94de04f743030b5d3d363a7ff4e5e4fdc69da7d9 (diff)
downloadaskbot-ac490e441b69497f54cb33d2af452f9c9b934914.tar.gz
askbot-ac490e441b69497f54cb33d2af452f9c9b934914.tar.bz2
askbot-ac490e441b69497f54cb33d2af452f9c9b934914.zip
added automatic documentation version to conf.py
-rw-r--r--askbot/doc/source/conf.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/askbot/doc/source/conf.py b/askbot/doc/source/conf.py
index 09fe821f..d8848317 100644
--- a/askbot/doc/source/conf.py
+++ b/askbot/doc/source/conf.py
@@ -61,16 +61,16 @@ master_doc = 'index'
# General information about the project.
project = u'Askbot'
-copyright = u'2010, Askbot Project'
+copyright = u'2011, Askbot Project'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
-#
# The short X.Y version.
-version = '0.6'
+from askbot import get_version
+version = get_version()
# The full version, including alpha/beta/rc tags.
-release = '0.6'
+release = get_version()
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.