mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
doc/dev: always have an up-to-date copyright year
Signed-off-by: Benedek Nagy <contact@nbenedek.me>
This commit is contained in:
parent
9a16e20fa9
commit
32fae4c3d3
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user