From a59f677d934830053ebf608db31a87e89c0f0ed1 Mon Sep 17 00:00:00 2001 From: aviral1701 Date: Tue, 15 May 2018 12:48:04 +0530 Subject: [PATCH] change doc copyright year to range and auto update year --- doc/en/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/en/conf.py b/doc/en/conf.py index f5c17404b..d64b81117 100644 --- a/doc/en/conf.py +++ b/doc/en/conf.py @@ -20,6 +20,7 @@ import os import sys +import datetime from _pytest import __version__ as version @@ -57,7 +58,8 @@ master_doc = 'contents' # General information about the project. project = u'pytest' -copyright = u'2015, holger krekel and pytest-dev team' +year = datetime.datetime.utcnow().year +copyright = u'2015–{} , holger krekel and pytest-dev team'.format(year)