diff options
author | Ib Lundgren <ib.lundgren@gmail.com> | 2014-10-23 18:46:58 +0100 |
---|---|---|
committer | Ib Lundgren <ib.lundgren@gmail.com> | 2014-10-23 18:46:58 +0100 |
commit | ff4c9399172d19434c6cdd46932f4195a71742fb (patch) | |
tree | 53e9a8ece92a1aaa0c4b01b58e45913efebf34c5 | |
parent | c8a2e6d80ed20d02e4d66b0eb3d4bcc69f334419 (diff) | |
download | oauthlib-ff4c9399172d19434c6cdd46932f4195a71742fb.tar.gz |
Fetch docs version from oauthlib.__version__
-rw-r--r-- | docs/conf.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/conf.py b/docs/conf.py index a614242..f62d304 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,7 +17,6 @@ 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('..')) - # -- General configuration ----------------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here. @@ -48,9 +47,11 @@ copyright = u'2012, Idan Gazit and the Python Community' # built documents. # # The short X.Y version. -version = '0.6' + +from oauthlib import __version__ as v +version = v[:3] # The full version, including alpha/beta/rc tags. -release = '0.6.0' +release = v # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. |