From afda50313283bfc711a8d4f5d6f2fe5102ce5878 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 8f6dcb8..f49114b 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("..")) @@ -44,7 +45,8 @@ # General information about the project. project = "Adafruit DRV2605 Library" -copyright = "2017 Tony DiCola" +current_year = str(datetime.datetime.now().year) +copyright = current_year + " Tony DiCola" author = "Tony DiCola" # The version info for the project you're documenting, acts as replacement for