diff options
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 8 |
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. |