Fix the generated docs displayed version

This commit is contained in:
Joshua Harlow
2015-06-13 18:25:39 -07:00
parent 2edb184d95
commit 88888eb225

View File

@@ -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.