From 72a121c78f71474609a6e7d879778c04e66b6a05 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Sun, 24 Aug 2014 23:07:22 +0100 Subject: [PATCH] Self-updating copyright year in docs --- doc/src/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/src/conf.py b/doc/src/conf.py index 5937a7b4..17a61f58 100644 --- a/doc/src/conf.py +++ b/doc/src/conf.py @@ -42,7 +42,9 @@ master_doc = 'index' # General information about the project. project = u'Psycopg' -copyright = u'2001-2013, Federico Di Gregorio. Documentation by Daniele Varrazzo' +from datetime import date +year = date.today().year +copyright = u'2001-%s, Federico Di Gregorio, Daniele Varrazzo' % year # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the