summaryrefslogtreecommitdiff
path: root/doc/conf.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2018-03-11 13:13:44 +0100
committerClaudiu Popa <pcmanticore@gmail.com>2018-03-11 13:13:44 +0100
commitc2232449f76cdc67833cd53886c4d1945bd831b6 (patch)
tree726fdf40ee6df2c8446d15419e666ef07b155bc7 /doc/conf.py
parent67c7158920f38ffab3c846beda563d61e00ef0f5 (diff)
downloadastroid-git-c2232449f76cdc67833cd53886c4d1945bd831b6.tar.gz
Make the year dynamic
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/conf.py b/doc/conf.py
index e054073d..9343804b 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -12,6 +12,7 @@
# serve to show the default.
import sys, os
+from datetime import datetime
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
@@ -48,7 +49,8 @@ master_doc = 'index'
# General information about the project.
project = u'Astroid'
-copyright = u'2003-2016, Logilab'
+current_year = datetime.utcnow().year
+copyright = u'2003-{year}, Logilab, PyCQA and contributors'.format(year=current_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