From 605bcd757186bd63b1368f401196cf0d057eba96 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 29 Jun 2016 20:10:22 +0200 Subject: [PATCH] Use current year for copyright Always update copyright for docs with current year. Change-Id: I71f59e442e705482de8f9aec82789587cf04a99f --- doc/source/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 72ecbba..72e1181 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +import datetime import os import sys @@ -39,7 +40,7 @@ master_doc = 'index' # General information about the project. project = u'bindep' -copyright = u'2016, 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