summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraviral1701 <aviral1701@gmail.com>2018-05-15 12:48:04 +0530
committeraviral1701 <aviral1701@gmail.com>2018-05-15 12:48:04 +0530
commita59f677d934830053ebf608db31a87e89c0f0ed1 (patch)
tree146e6f968f063b28019fdd48b8cd5ce7a606d919
parent36614b0a3d1846d36ba3840ef25eb986a5b551c4 (diff)
downloadpytest-a59f677d934830053ebf608db31a87e89c0f0ed1.tar.gz
change doc copyright year to range and auto update year
-rw-r--r--doc/en/conf.py4
1 files changed, 3 insertions, 1 deletions
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)