We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70540ca commit 2c0ed6fCopy full SHA for 2c0ed6f
docs/conf.py
@@ -70,8 +70,14 @@
70
71
# General information about the project.
72
project = "Adafruit PyPortal Library"
73
+creation_year = "2019"
74
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Limor Fried"
75
+year_duration = (
76
+ current_year
77
+ if current_year == creation_year
78
+ else creation_year + " - " + current_year
79
+)
80
+copyright = year_duration + " Limor Fried"
81
author = "Limor Fried"
82
83
# The version info for the project you're documenting, acts as replacement for
0 commit comments