aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorSimon Law <simon.law@ecometrica.com>2012-07-25 15:39:32 -0400
committerSimon Law <simon.law@ecometrica.com>2012-07-25 15:39:32 -0400
commit0abefd41b70b4e8afefb61d725a88f9728625fbf (patch)
treee3129c835cd62c0db5cc2a5275a2571544c2cfd2 /docs/conf.py
parent18132dc19a5bbfe094269d4d0152f3586115306f (diff)
downloaddjango-wkhtmltopdf-0abefd41b70b4e8afefb61d725a88f9728625fbf.tar.gz
django-wkhtmltopdf-0abefd41b70b4e8afefb61d725a88f9728625fbf.tar.bz2
django-wkhtmltopdf-0abefd41b70b4e8afefb61d725a88f9728625fbf.zip
docs/conf.py can now find the version number.
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/conf.py b/docs/conf.py
index a8227a3..21a748a 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -13,7 +13,7 @@
import sys, os
-from wkhtmltopdf import get_version
+import wkhtmltopdf
# 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
@@ -50,9 +50,9 @@ copyright = u'2012, Incuna Ltd'
# built documents.
#
# The short X.Y version.
-version = get_version()
+version = wkhtmltopdf.__version__
# The full version, including alpha/beta/rc tags.
-release = get_version()
+release = wkhtmltopdf.__version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.