From f229b3a423aed0541251ff0638bdf726f5e80c61 Mon Sep 17 00:00:00 2001 From: Alexander Senier Date: Fri, 29 Nov 2024 13:47:46 +0000 Subject: [PATCH] Extend documentation copyright to current year Ref. None --- doc/language_reference/conf.py | 3 ++- doc/user_guide/conf.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/language_reference/conf.py b/doc/language_reference/conf.py index dcd6fc7d1..1edd57538 100644 --- a/doc/language_reference/conf.py +++ b/doc/language_reference/conf.py @@ -5,6 +5,7 @@ """ import sys +from datetime import datetime from pathlib import Path from sphinx.highlighting import lexers @@ -21,7 +22,7 @@ # -- Project information ----------------------------------------------------- project = "RecordFlux" -copyright = "2023, AdaCore" # noqa: A001 +copyright = f"2023-{datetime.now().year}, AdaCore" # noqa: A001, DTZ005 author = "AdaCore" recordflux_version = __version__ version = recordflux_version diff --git a/doc/user_guide/conf.py b/doc/user_guide/conf.py index 2d5f9fa58..4bee7e282 100644 --- a/doc/user_guide/conf.py +++ b/doc/user_guide/conf.py @@ -5,6 +5,7 @@ """ import sys +from datetime import datetime from pathlib import Path from sphinx.highlighting import lexers @@ -21,7 +22,7 @@ # -- Project information ----------------------------------------------------- project = "RecordFlux" -copyright = "2023, AdaCore" # noqa: A001 +copyright = f"2023-{datetime.now().year}, AdaCore" # noqa: A001, DTZ005 author = "AdaCore" recordflux_version = __version__ version = recordflux_version