From 473f51d42df942d708fdc1c429f4c0c80b6f8c59 Mon Sep 17 00:00:00 2001 From: Leon Oostrum Date: Mon, 4 Jan 2021 15:32:53 +0100 Subject: [PATCH] Use current year in docs --- docs/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 851d7be..a280b3c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,6 +12,7 @@ # import os import sys +from datetime import datetime from darc import __version__ sys.path.insert(0, os.path.abspath('..')) autodoc_mock_imports = ['tensorflow'] @@ -29,7 +30,8 @@ # -- Project information ----------------------------------------------------- project = 'DARC' -copyright = '2020, Leon Oostrum' +year = datetime.now().year +copyright = f'{year}, Leon Oostrum' author = 'Leon Oostrum' # The full version, including alpha/beta/rc tags