mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
docs: dynamic year
This commit is contained in:
parent
e54302040b
commit
2a0ec05648
1 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue