summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2010-10-10 02:33:03 -0400
committerKenneth Reitz <me@kennethreitz.com>2010-10-10 02:33:03 -0400
commit3e391fc8e39bc8a646a329d84b2c428f0997faab (patch)
treee62d08f363f6aefcd1474a0e264d5774cdf8b359 /docs
parenta2308449140055dc44dc4ff575aff63446db7186 (diff)
downloadtablib-3e391fc8e39bc8a646a329d84b2c428f0997faab.tar.gz
Auto version usage.
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/conf.py b/docs/conf.py
index b340f43..f51c9dc 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -12,11 +12,12 @@
# serve to show the default.
import sys, os
+import tablib
# If extensions (or modules to document with autodoc) are in another directory,
# 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('..'))
# -- General configuration -----------------------------------------------------
@@ -48,9 +49,9 @@ copyright = u'2010, Kenneth Reitz'
# built documents.
#
# The short X.Y version.
-version = '0.8.3'
+version = tablib.core.__version__
# The full version, including alpha/beta/rc tags.
-release = '0.8.3'
+release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.