From a59f677d934830053ebf608db31a87e89c0f0ed1 Mon Sep 17 00:00:00 2001 From: aviral1701 Date: Tue, 15 May 2018 12:48:04 +0530 Subject: [PATCH 1/3] 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) From f14e097635411d80eccb77e50d78c58a11a97f17 Mon Sep 17 00:00:00 2001 From: aviral1701 Date: Tue, 15 May 2018 12:54:48 +0530 Subject: [PATCH 2/3] added changelog and added my name to the authors --- AUTHORS | 1 + changelog/3303.doc.rst | 1 + 2 files changed, 2 insertions(+) create mode 100644 changelog/3303.doc.rst diff --git a/AUTHORS b/AUTHORS index eb3c016a5..2068a3612 100644 --- a/AUTHORS +++ b/AUTHORS @@ -22,6 +22,7 @@ Antony Lee Armin Rigo Aron Coyle Aron Curzon +Aviral Verma Aviv Palivoda Barney Gale Ben Webb diff --git a/changelog/3303.doc.rst b/changelog/3303.doc.rst new file mode 100644 index 000000000..5222de198 --- /dev/null +++ b/changelog/3303.doc.rst @@ -0,0 +1 @@ +change doc copyright year to range and auto update year \ No newline at end of file From f68bab06b44cd4c457663a479c45771ab0e0c01b Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 15 May 2018 18:24:14 -0300 Subject: [PATCH 3/3] Reword the changelog --- changelog/3303.doc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog/3303.doc.rst b/changelog/3303.doc.rst index 5222de198..0af91ffb0 100644 --- a/changelog/3303.doc.rst +++ b/changelog/3303.doc.rst @@ -1 +1 @@ -change doc copyright year to range and auto update year \ No newline at end of file +Change documentation copyright year to a range which auto-updates itself each time it is published.