From 0abefd41b70b4e8afefb61d725a88f9728625fbf Mon Sep 17 00:00:00 2001 From: Simon Law Date: Wed, 25 Jul 2012 15:39:32 -0400 Subject: docs/conf.py can now find the version number. --- docs/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/conf.py') 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. -- cgit v1.2.3