Skip to content

Commit 26e1150

Browse files
authored
Keep copyright up to date in documentation
1 parent b9e4c42 commit 26e1150

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import os
88
import sys
9+
import datetime
910

1011
sys.path.insert(0, os.path.abspath(".."))
1112

@@ -50,7 +51,8 @@
5051

5152
# General information about the project.
5253
project = "Adafruit CircuitPython circuitpython_typing Library"
53-
copyright = "2022 Dan Halbert"
54+
current_year = str(datetime.datetime.now().year)
55+
copyright = current_year + " Dan Halbert"
5456
author = "Dan Halbert"
5557

5658
# The version info for the project you're documenting, acts as replacement for

0 commit comments

Comments
 (0)