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:
parent
ef04480253
commit
f1b31d4ee3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user