diff options
author | holger krekel <holger@merlinux.eu> | 2015-12-07 12:49:18 +0100 |
---|---|---|
committer | holger krekel <holger@merlinux.eu> | 2015-12-07 12:49:18 +0100 |
commit | 8edad9ed7263483a98171467efee67efbb52b259 (patch) | |
tree | eac052396723131ff82f3d219560dea657797a99 /doc/conf.py | |
parent | 905f2c06e9b37d307562ce3cfbffb51018829a7c (diff) | |
download | tox-issue285.tar.gz |
add py35 to default test envs and automize versions generated in docissue285
Diffstat (limited to 'doc/conf.py')
-rw-r--r-- | doc/conf.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/conf.py b/doc/conf.py index 79857d7..6094f60 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -13,6 +13,13 @@ import sys, os +# The short X.Y version. +sys.path.insert(0, os.path.dirname(__file__)) +import _getdoctarget + +version = _getdoctarget.get_minor_version_string() +release = _getdoctarget.get_version_string() + # If extensions (or modules to document with autodoc) are in another directory, # 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. @@ -47,9 +54,6 @@ copyright = u'2015, holger krekel and others' # |version| and |release|, also used in various other places throughout the # built documents. # -# The short X.Y version. -release = "2.2" -version = "2.2.0" # The full version, including alpha/beta/rc tags. # The language for content autogenerated by Sphinx. Refer to documentation |