report versions of components

Fixes: https://pagure.io/koji/issue/2430
This commit is contained in:
Tomas Kopecek 2020-08-17 16:45:29 +02:00
parent 729f84767c
commit ba908fd2de
13 changed files with 70 additions and 21 deletions

View file

@ -13,7 +13,7 @@
# serve to show the default.
#import sys
#import os
import os
# 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
@ -53,10 +53,11 @@ copyright = u'2017, Mike McLean, Mike B, Dennis Gilmore, Mathieu Bridon, Ian McL
# |version| and |release|, also used in various other places throughout the
# built documents.
#
exec(open(os.path.join(os.path.dirname(__file__), '../../koji/_version.py'), 'rt').read())
# The short X.Y version.
version = '1.22'
version = '%d.%d' % locals()['__version_info__'][:2]
# The full version, including alpha/beta/rc tags.
release = '1.22.1'
release = locals()['__version__']
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.