use current year for date of copyright

This commit is contained in:
Frank Morgner
2014-07-08 08:35:32 +02:00
parent 83c3d3d510
commit 97045975a3

View File

@@ -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.