From 42bf709160e91ffe3424719fef7c450d5010e5b7 Mon Sep 17 00:00:00 2001 From: Alec Delaney Date: Mon, 22 Aug 2022 21:36:30 -0400 Subject: [PATCH] Keep copyright up to date in documentation --- docs/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 9a50212..cf5bb54 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -6,6 +6,7 @@ import os import sys +import datetime sys.path.insert(0, os.path.abspath("..")) @@ -45,7 +46,8 @@ # General information about the project. project = "Adafruit CircuitPython DHT Library" -copyright = "2017 Mike McWethy" +current_year = str(datetime.datetime.now().year) +copyright = current_year + " Mike McWethy" author = "Mike McWethy" # The version info for the project you're documenting, acts as replacement for