diff options
author | Simon Law <simon.law@ecometrica.com> | 2012-07-25 15:39:32 -0400 |
---|---|---|
committer | Simon Law <simon.law@ecometrica.com> | 2012-07-25 15:39:32 -0400 |
commit | 0abefd41b70b4e8afefb61d725a88f9728625fbf (patch) | |
tree | e3129c835cd62c0db5cc2a5275a2571544c2cfd2 | |
parent | 18132dc19a5bbfe094269d4d0152f3586115306f (diff) | |
download | django-wkhtmltopdf-0abefd41b70b4e8afefb61d725a88f9728625fbf.tar.gz django-wkhtmltopdf-0abefd41b70b4e8afefb61d725a88f9728625fbf.tar.bz2 django-wkhtmltopdf-0abefd41b70b4e8afefb61d725a88f9728625fbf.zip |
docs/conf.py can now find the version number.
-rw-r--r-- | docs/conf.py | 6 |
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. |