Fix the generated docs displayed version
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user