diff --git a/doc/source/conf.py b/doc/source/conf.py index f95bb82..dd20a54 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -16,6 +16,8 @@ import sys import os import shlex +from fasteners import version as fasteners_version + # 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. @@ -59,10 +61,10 @@ author = u'Joshua Harlow, OpenStack Developers' # built documents. # # The short X.Y version. -version = '0.8' +version = fasteners_version.version_string() # The full version, including alpha/beta/rc tags. -release = '0.8' +release = fasteners_version.version_string() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.