docs: Make the build reproducible

By setting today's date to the current year, the manpage output doesn't
vary with the day the manpage was built.

Having reproducible builds is a goal for Debian stretch.
This commit is contained in:
Stein Magnus Jodal 2015-04-27 15:34:25 +02:00
parent f6a86a0f5c
commit 6a2b9f9896

View File

@ -105,6 +105,9 @@ from mopidy.utils.versioning import get_version
release = get_version()
version = '.'.join(release.split('.')[:2])
# To make the build reproducible, avoid using today's date in the manpages
today = '2015'
exclude_trees = ['_build']
pygments_style = 'sphinx'