From 7c5300459d6545bb12d382e679bf3f652c1a9c09 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Tue, 28 Feb 2023 10:18:34 +0100 Subject: [PATCH] doc: add current year to documentation That way, it's clear that the doc is not from 2012 and feels outdated. Change-Id: I63029c7b100ddfe41cd1ac242d57d5f8a41515eb --- doc/source/conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 9a37c66d6..2c17f5e28 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -13,6 +13,7 @@ import os import sys +import datetime from jenkins_jobs.version import version_info as jenkins_jobs_version # If extensions (or modules to document with autodoc) are in another directory, @@ -51,7 +52,9 @@ master_doc = "index" # General information about the project. project = "Jenkins Job Builder" -copyright = "2012, Jenkins Job Builder Maintainers" +copyright = "2012 - {}, Jenkins Job Builder Maintainers".format( + datetime.datetime.now().year +) # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the