diff --git a/src/bonsai/docs/conf.py b/src/bonsai/docs/conf.py index 2b54fe6e9c..fa32359095 100644 --- a/src/bonsai/docs/conf.py +++ b/src/bonsai/docs/conf.py @@ -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 diff --git a/src/ifcopenshell-python/docs/conf.py b/src/ifcopenshell-python/docs/conf.py index 1f60e2f163..4f78f70386 100644 --- a/src/ifcopenshell-python/docs/conf.py +++ b/src/ifcopenshell-python/docs/conf.py @@ -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