From 81f85cb8ed061fbac45e2a3acd7b03632102c2b6 Mon Sep 17 00:00:00 2001 From: Galen Seilis Date: Mon, 25 Nov 2024 19:47:04 -0800 Subject: [PATCH] Update conf.py Use datetime to keep copyright up to date. --- docs/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 83dce99..984a6f2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,6 +12,7 @@ # All configuration values have a default; values that are commented out # serve to show the default. +import datetime import sys import os import shlex @@ -50,8 +51,9 @@ master_doc = "index" # General information about the project. +current_year = datetime.datetime.now().year project = "Ciw" -copyright = "2015, Geraint Palmer" +copyright = f"{current_year}, Geraint Palmer" author = "Geraint Palmer" # The version info for the project you're documenting, acts as replacement for