doc/dev: always have an up-to-date copyright year

Signed-off-by: Benedek Nagy <contact@nbenedek.me>
This commit is contained in:
Benedek Nagy authored and Sunil Mohan Adapa committed 2026-02-22 17:11:36 -08:00
1 parent 9a16e20fa9
commit 32fae4c3d3
1 file changed
+3 -1
+3 -1
View File
@@ -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