Add version information into docs
The version is taken from PBR. Change-Id: I9e33806b3fecfe4ae68ea9513c6c70364d93520f
This commit is contained in:
parent
23a5b53fc9
commit
eb51622f04
@ -40,6 +40,16 @@ master_doc = 'index'
|
||||
project = u'Shaker'
|
||||
copyright = u'2015, Mirantis'
|
||||
|
||||
# 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.
|
||||
#
|
||||
# Version info
|
||||
from shaker.version import version_info as shaker_version
|
||||
release = shaker_version.release_string()
|
||||
# The short X.Y version.
|
||||
version = shaker_version.version_string()
|
||||
|
||||
# If true, '()' will be appended to :func: etc. cross-reference text.
|
||||
add_function_parentheses = True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user