mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +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
|
import django
|
||||||
|
|
||||||
|
from datetime import datetime
|
||||||
|
|
||||||
sys.path.insert(0, os.path.abspath('../../'))
|
sys.path.insert(0, os.path.abspath('../../'))
|
||||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'plinth.settings'
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'plinth.settings'
|
||||||
django.setup()
|
django.setup()
|
||||||
@ -26,7 +28,7 @@ django.setup()
|
|||||||
|
|
||||||
# pylint: disable=invalid-name
|
# pylint: disable=invalid-name
|
||||||
project = 'FreedomBox'
|
project = 'FreedomBox'
|
||||||
copyright = '2021-2025, FreedomBox Authors'
|
copyright = f'2021-{datetime.now().year}, FreedomBox Authors'
|
||||||
author = 'FreedomBox Authors'
|
author = 'FreedomBox Authors'
|
||||||
|
|
||||||
# The short X.Y version
|
# The short X.Y version
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user