docs: dynamic year

This commit is contained in:
Éloi Rivard 2023-07-29 15:43:50 +02:00 committed by zorun
parent e54302040b
commit 2a0ec05648

View file

@ -1,9 +1,12 @@
import datetime
templates_path = ["_templates"] templates_path = ["_templates"]
source_suffix = ".rst" source_suffix = ".rst"
master_doc = "index" master_doc = "index"
project = "I hate money" project = "I hate money"
copyright = "2011-2021, The 'I hate money' team" year = datetime.datetime.now().strftime("%Y")
copyright = f"2011-{year}, The 'I hate money' team"
version = "5.0" version = "5.0"
release = "5.0" release = "5.0"