aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-03-01 23:30:03 +0100
committerDavid Medina <davidmedina9@gmail.com>2012-03-01 23:30:03 +0100
commit197f2f6ddbd35d2fa2b524001631c219cbe90b67 (patch)
treee0eb7af5640ec64b8dd5a891de4fb7fed6d48193 /docs/conf.py
parentPython 2.6 compatibility (diff)
downloadpython-github3-197f2f6ddbd35d2fa2b524001631c219cbe90b67.tar.xz
python-github3-197f2f6ddbd35d2fa2b524001631c219cbe90b67.zip
Update Readme and metadata
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 7b87720..c10f5c0 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -49,9 +49,13 @@ copyright = u'2012, David Medina'
# built documents.
#
# The short X.Y version.
-version = '0.2'
+try:
+ from pygithub3 import __version__
+except:
+ __version__ = 'dev'
+version = __version__
# The full version, including alpha/beta/rc tags.
-release = '0.2'
+release = __version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.