From bfaa69c1dc7fbd70e44681b82a902e613188c993 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Fri, 16 Nov 2018 04:34:41 -0800 Subject: [PATCH] Use dynamic date, remove unused imports --- docs/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 84832a4..c5e9b53 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,8 +17,7 @@ # make it absolute, like shown here. #sys.path.append(os.path.abspath('some/directory')) -import sys -import os +import datetime import pylons_sphinx_themes # Add and use Pylons theme @@ -43,7 +42,8 @@ # General substitutions. project = 'pyramid_beaker' -copyright = '2012, Agendaless Consulting ' +thisyear = datetime.datetime.now().year +copyright = '2012-%s, Agendaless Consulting ' % thisyear # The default replacements for |version| and |release|, also used in various # other places throughout the built documents.