Commit 5c1bcca2 authored by Flavio TARSETTI's avatar Flavio TARSETTI
Browse files

[doc] refactored version and description

parent 90b3b29c
Pipeline #21283 passed with stage
in 11 minutes and 27 seconds
......@@ -78,21 +78,19 @@ master_doc = 'index'
# General information about the project.
project = u'beat'
project_beat_core = u'beat.core'
import time
copyright = u'%s, Idiap Research Institute' % time.strftime('%Y')
# Grab the setup entry
distribution = pkg_resources.require(project_beat_core)[0]
with open('../version.txt') as f:
version = f.readline()
# 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.
#
# The short X.Y version.
version = distribution.version
# The full version, including alpha/beta/rc tags.
release = distribution.version
release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
......@@ -130,7 +128,7 @@ pygments_style = 'sphinx'
# Some variables which are useful for generated material
project_variable = project.replace('.', '_')
short_description = u'Building of Python/C++ extensions for BEAT'
short_description = u'BEAT documentation'
owner = [u'Idiap Research Institute']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment