From 6b443556cd8c907f815c6cc563f36559048a9b0f Mon Sep 17 00:00:00 2001 From: SunDwarf Date: Sat, 21 Nov 2015 09:44:38 +0000 Subject: [PATCH] Update conf.py --- docs/conf.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 60bdfa7..26ccdb4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,6 +17,7 @@ import sys, os # 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('../')) +from flask_s3 import __version__ # -- General configuration ----------------------------------------------------- @@ -40,17 +41,17 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'flask-S3' -copyright = u'2012, Edward Robinson' +project = 'flask-S3' +copyright = '2015, Edward Robinson' # 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.1' +version = ".".join(map(str, __version__[0:2])) # The full version, including alpha/beta/rc tags. -release = '0.1' +release = ".".join(map(str, __version__)) # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.