docs conf.py - update year

This commit is contained in:
Andrej730
2025-07-11 14:40:45 +05:00
parent 4bbc463c8f
commit 370488cd27
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -29,6 +29,7 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
from datetime import datetime
# import sys
# sys.path.insert(0, os.path.abspath('.'))
@@ -37,7 +38,7 @@ import os
# -- Project information -----------------------------------------------------
project = "Bonsai"
copyright = "2020-2024 IfcOpenShell Contributors"
copyright = f"2020-{datetime.now().year} IfcOpenShell Contributors"
author = "IfcOpenShell Contributors"
# The full version, including alpha/beta/rc tags
+2 -1
View File
@@ -30,6 +30,7 @@
#
import os
import sys
from datetime import datetime
sys.path.insert(0, os.path.abspath(".."))
@@ -37,7 +38,7 @@ sys.path.insert(0, os.path.abspath(".."))
# -- Project information -----------------------------------------------------
project = "IfcOpenShell"
copyright = "2011-2024 IfcOpenShell Contributors"
copyright = f"2011-{datetime.now().year} IfcOpenShell Contributors"
author = "IfcOpenShell Contributors"
# The full version, including alpha/beta/rc tags