From d169d15332e7dc8434acf53b3e8cb6cace0a241f Mon Sep 17 00:00:00 2001 From: Otto Date: Thu, 22 Apr 2021 08:34:42 +0200 Subject: [PATCH] Determine copyright upper bound year by code --- docs/conf.py | 3 ++- pdns/dnsdistdist/docs/conf.py | 3 ++- pdns/recursordist/docs/conf.py | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 368a31b106..d4da03df3c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,6 +22,7 @@ import glob # import sys # sys.path.insert(0, os.path.abspath('.')) import guzzle_sphinx_theme +import datetime # -- General configuration ------------------------------------------------ @@ -51,7 +52,7 @@ master_doc = 'indexTOC' # General information about the project. project = 'PowerDNS Authoritative Server' -copyright = '2001-2019, PowerDNS.COM BV' +copyright = '2001-' + str(datetime.date.today().year) + ', PowerDNS.COM BV' author = 'PowerDNS.COM BV' # The version info for the project you're documenting, acts as replacement for diff --git a/pdns/dnsdistdist/docs/conf.py b/pdns/dnsdistdist/docs/conf.py index 8c2fa93214..70e26fa64e 100644 --- a/pdns/dnsdistdist/docs/conf.py +++ b/pdns/dnsdistdist/docs/conf.py @@ -20,6 +20,7 @@ # import os # import sys # sys.path.insert(0, os.path.abspath('.')) +import datetime # -- General configuration ------------------------------------------------ @@ -48,7 +49,7 @@ master_doc = 'index_TOC' # General information about the project. project = 'dnsdist' -copyright = '2015-2019, PowerDNS.COM BV and its contributors' +copyright = '2015-' + str(datetime.date.today().year) + ', PowerDNS.COM BV and its contributors' author = 'PowerDNS.COM BV and its contributors' # The version info for the project you're documenting, acts as replacement for diff --git a/pdns/recursordist/docs/conf.py b/pdns/recursordist/docs/conf.py index 4a628ff187..54c5c447d7 100644 --- a/pdns/recursordist/docs/conf.py +++ b/pdns/recursordist/docs/conf.py @@ -21,6 +21,7 @@ # import sys # sys.path.insert(0, os.path.abspath('.')) import guzzle_sphinx_theme +import datetime # -- General configuration ------------------------------------------------ @@ -51,7 +52,7 @@ master_doc = 'indexTOC' # General information about the project. project = 'PowerDNS Recursor' -copyright = '2001-2019, PowerDNS.COM BV' +copyright = '2001-' + str(datetime.date.today().year) + ', PowerDNS.COM BV' author = 'PowerDNS.COM BV' # The version info for the project you're documenting, acts as replacement for -- 2.47.2