]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Determine copyright upper bound year by code 10326/head
authorOtto <otto.moerbeek@open-xchange.com>
Thu, 22 Apr 2021 06:34:42 +0000 (08:34 +0200)
committerOtto <otto.moerbeek@open-xchange.com>
Thu, 22 Apr 2021 06:34:42 +0000 (08:34 +0200)
docs/conf.py
pdns/dnsdistdist/docs/conf.py
pdns/recursordist/docs/conf.py

index 368a31b1066f9c247cae5613f0377e7929215b14..d4da03df3c098387b734cc3e79131e3827f799a4 100644 (file)
@@ -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
index 8c2fa93214fd7e2e6888464f4bfd4d7fa3310dd1..70e26fa64e149e2f74b245dcdc854c6d727ad880 100644 (file)
@@ -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
index 4a628ff187e9d5a5f7fb97cb9e88754500bd2cf9..54c5c447d7b627abe12df0fa55bbdeab7315339b 100644 (file)
@@ -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