We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6b886a commit 706ad68Copy full SHA for 706ad68
docs/conf.py
@@ -53,8 +53,14 @@
53
54
# General information about the project.
55
project = "Adafruit MatrixKeypad Library"
56
+creation_year = "2018"
57
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " ladyada"
58
+year_duration = (
59
+ current_year
60
+ if current_year == creation_year
61
+ else creation_year + " - " + current_year
62
+)
63
+copyright = year_duration + " ladyada"
64
author = "ladyada"
65
66
# The version info for the project you're documenting, acts as replacement for
0 commit comments