doc: add current year to documentation

That way, it's clear that the doc is not from 2012 and feels
outdated.

Change-Id: I63029c7b100ddfe41cd1ac242d57d5f8a41515eb
This commit is contained in:
Thomas Bechtold 2023-02-28 10:18:34 +01:00
parent 5cea04aa2a
commit e84a1bd4b0
1 changed files with 2 additions and 1 deletions

View File

@ -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,7 @@ 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