doc: fix sphinx configuration

Fixes QubesOS/qubes-issues#2797
This commit is contained in:
Marek Marczykowski-Górecki 2017-05-10 16:10:36 +02:00
parent d75fc6c28b
commit 865dac5d0b
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -66,7 +66,7 @@ copyright = u'2010-{}, Invisible Things Lab'.format(time.strftime('%Y'))
# The short X.Y version.
version = open('../version').read().strip()
# The full version, including alpha/beta/rc tags.
release = subprocess.check_output(['git', 'describe', '--long', '--dirty']).strip()
release = subprocess.check_output(['git', 'describe', '--long', '--dirty']).strip().decode()
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.