From b486df7e2d8a39cd11a83f4436b88249cf151170 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Sat, 4 Jan 2025 01:04:29 -0800 Subject: [PATCH] docs: auto update year --- docs/conf.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 2afedac0..ce9217b0 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -30,6 +30,8 @@ # # needs_sphinx = '1.0' +import datetime + # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. @@ -64,8 +66,11 @@ master_doc = 'index' # General information about the project. project = 'ocrmypdf' + +year = str(datetime.date.today().year) copyright = ( - '2023, James R. Barlow. Licensed under Creative Commons Attribution-ShareAlike 4.0.' + f'{year}, James R. Barlow. ', + 'Licensed under Creative Commons Attribution-ShareAlike 4.0.', ) author = 'James R. Barlow'