From 32fae4c3d3ceaa2d1572e062d862180c9046e24b Mon Sep 17 00:00:00 2001 From: Benedek Nagy Date: Sun, 15 Feb 2026 13:57:13 +0100 Subject: [PATCH] doc/dev: always have an up-to-date copyright year Signed-off-by: Benedek Nagy --- doc/dev/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/dev/conf.py b/doc/dev/conf.py index 0c0c3ffb7..dfb88f625 100644 --- a/doc/dev/conf.py +++ b/doc/dev/conf.py @@ -18,6 +18,8 @@ import sys import django +from datetime import datetime + sys.path.insert(0, os.path.abspath('../../')) os.environ['DJANGO_SETTINGS_MODULE'] = 'plinth.settings' django.setup() @@ -26,7 +28,7 @@ django.setup() # pylint: disable=invalid-name project = 'FreedomBox' -copyright = '2021-2025, FreedomBox Authors' +copyright = f'2021-{datetime.now().year}, FreedomBox Authors' author = 'FreedomBox Authors' # The short X.Y version