From 97045975a3fd8655e65014c4e878fb39b6894be1 Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Tue, 8 Jul 2014 08:35:32 +0200 Subject: [PATCH] use current year for date of copyright --- doc/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index d4abeda..00109b1 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -13,6 +13,7 @@ import sys, os, breathe, sphinx_bootstrap_theme from sphinxcontrib.doxylink import doxylink +from datetime import date os.system("make doc -C npa") os.system("make doc -C virtualsmartcard") @@ -51,7 +52,7 @@ master_doc = 'index' # General information about the project. project = u'Virtual Smart Card Architecture' -copyright = u'2009-2013 by Dominik Oepen and Frank Morgner' +copyright = u'2009-%d by Dominik Oepen and Frank Morgner' % date.today().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 @@ -60,8 +61,7 @@ copyright = u'2009-2013 by Dominik Oepen and Frank Morgner' # The short X.Y version. #version = '0.7' # The full version, including alpha/beta/rc tags. -import datetime -release = '%s' % datetime.date.today() +release = '%s' % date.today() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.