Have the sphinx copyright date be dynamic
Instead of having the copyright date be statically encoded to '2013-2014' have it be dynamically picked up from the datetime module instead. Change-Id: Ie8a4ab02b7b2c254eb63a0b43763c9893f7fa083
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import datetime
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -36,7 +37,7 @@ exclude_patterns = ['_build']
|
||||
|
||||
# General information about the project.
|
||||
project = u'TaskFlow'
|
||||
copyright = u'2013-2014, OpenStack Foundation'
|
||||
copyright = u'%s, OpenStack Foundation' % datetime.date.today().year
|
||||
source_tree = 'http://git.openstack.org/cgit/openstack/taskflow/tree'
|
||||
|
||||
# If true, '()' will be appended to :func: etc. cross-reference text.
|
||||
|
||||
Reference in New Issue
Block a user