From fa916615af6393b0d71054c487c4f0b91e56dfaf Mon Sep 17 00:00:00 2001 From: Alec Delaney Date: Mon, 22 Aug 2022 21:36:31 -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 bd851d5..7bda371 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -7,6 +7,7 @@ import os import sys +import datetime sys.path.insert(0, os.path.abspath("..")) @@ -48,7 +49,8 @@ master_doc = "index" # General information about the project. project = "Adafruit PN532 Library" -copyright = "2018 ladyada" +current_year = str(datetime.datetime.now().year) +copyright = current_year + " ladyada" author = "ladyada" # The version info for the project you're documenting, acts as replacement for