From f2d5b57e86d0c9d690b8d9f988035427608f0b4c Mon Sep 17 00:00:00 2001 From: wakonig_k Date: Tue, 15 Apr 2025 15:27:01 +0200 Subject: [PATCH] fix(docs): update copyright year to be dynamic --- docs/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 7cb22231..940412ff 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -6,13 +6,13 @@ # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information -import os +import datetime import pathlib import tomli project = "BEC Widgets" -copyright = "2023, Paul Scherrer Institute" +copyright = f"{datetime.datetime.today().year}, Paul Scherrer Institute" author = "Paul Scherrer Institute" # -- General configuration ---------------------------------------------------