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