Skip to content

Commit bd1a234

Browse files
committed
Update copyright to perpetually include the current year
1 parent 4047cee commit bd1a234

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# sphinxcontrib-httpexample documentation build configuration file, created by
22
# sphinx-quickstart on Fri Mar 3 12:29:43 2017.
3+
import datetime
34
from importlib import metadata
45
from packaging.version import Version
56

@@ -34,9 +35,10 @@
3435
master_doc = "index"
3536

3637
# General information about the project.
38+
this_year = datetime.date.today().year
3739
project = "sphinxcontrib-httpexample"
38-
copyright = "2017, Asko Soukka"
3940
author = "Asko Soukka"
41+
copyright = f"2017 - {this_year}, {author}"
4042

4143
# The version info for the project you're documenting, acts as replacement for
4244
# |version| and |release|, also used in various other places throughout the

0 commit comments

Comments
 (0)