From 8b637204585714a4404d6c13a84b32536262e7d7 Mon Sep 17 00:00:00 2001 From: Philip Loche Date: Mon, 25 Mar 2024 16:43:48 +0100 Subject: [PATCH] always use current year for docs footer --- docs/src/conf.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/src/conf.py b/docs/src/conf.py index 507b5601..a61335e1 100644 --- a/docs/src/conf.py +++ b/docs/src/conf.py @@ -1,3 +1,5 @@ +import datetime + # Add any Sphinx extension module names here, as strings. extensions = [ "sphinx.ext.viewcode", @@ -9,7 +11,11 @@ exclude_patterns = ["_build"] project = "cosmo-software-cookbook" -copyright = "BSD 3-Clause License, Copyright (c) 2023, COSMO software cookbook team" +copyright = ( + "BSD 3-Clause License, " + f"Copyright (c) {datetime.now().date().year}, " + "COSMO software cookbook team" +) htmlhelp_basename = "COSMO software-cookbook" html_theme = "furo"