diff options
Diffstat (limited to 'doc/conf.py')
-rw-r--r-- | doc/conf.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/conf.py b/doc/conf.py index fb47f351e..fafae15e5 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -47,11 +47,16 @@ copyright = u'2012, MIT' # 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. -# +execfile("version.py") # The short X.Y version. -version = '0.0.1' +r_list = [r_major, r_minor] +if r_patch: + r_list += [r_patch] +version = '.'.join(map(str, r_list)) # The full version, including alpha/beta/rc tags. -release = '0.0.1' +release = version +if r_tail: + release += '-' + r_tail # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. |