Make the copyright date dynamic

This skillfully steals the same type of code as what
Rally uses in their documentation.

Change-Id: I0f35c457311d95649ebbf10e70713bd0399adc4d
This commit is contained in:
Leif Madsen 2017-01-26 15:34:50 -05:00
parent ef04480253
commit f1b31d4ee3
No known key found for this signature in database
GPG Key ID: 409E6FD5A5D30321

View File

@ -12,6 +12,7 @@
import os
import sys
import datetime
sys.path.insert(0, os.path.abspath('../..'))
# -- General configuration ----------------------------------------------------
@ -36,7 +37,7 @@ master_doc = 'index'
# General information about the project.
project = u'browbeat'
copyright = u'2013, OpenStack Foundation'
copyright = u"%d, OpenStack Foundation" % datetime.datetime.now().year
# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = True