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. # documentation root, use os.path.abspath to make it absolute, like shown here.
# #
import os import os
from datetime import datetime
# import sys # import sys
# sys.path.insert(0, os.path.abspath('.')) # sys.path.insert(0, os.path.abspath('.'))
@@ -37,7 +38,7 @@ import os
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------
project = "Bonsai" project = "Bonsai"
copyright = "2020-2024 IfcOpenShell Contributors" copyright = f"2020-{datetime.now().year} IfcOpenShell Contributors"
author = "IfcOpenShell Contributors" author = "IfcOpenShell Contributors"
# The full version, including alpha/beta/rc tags # The full version, including alpha/beta/rc tags
+2 -1
View File
@@ -30,6 +30,7 @@
# #
import os import os
import sys import sys
from datetime import datetime
sys.path.insert(0, os.path.abspath("..")) sys.path.insert(0, os.path.abspath(".."))
@@ -37,7 +38,7 @@ sys.path.insert(0, os.path.abspath(".."))
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------
project = "IfcOpenShell" project = "IfcOpenShell"
copyright = "2011-2024 IfcOpenShell Contributors" copyright = f"2011-{datetime.now().year} IfcOpenShell Contributors"
author = "IfcOpenShell Contributors" author = "IfcOpenShell Contributors"
# The full version, including alpha/beta/rc tags # The full version, including alpha/beta/rc tags