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 7720973 commit 7037298Copy full SHA for 7037298
docs/conf.py
@@ -38,8 +38,14 @@
38
39
# General information about the project.
40
project = "Adafruit LIFX Library"
41
+creation_year = "2019"
42
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Brent Rubell"
43
+year_duration = (
44
+ current_year
45
+ if current_year == creation_year
46
+ else creation_year + " - " + current_year
47
+)
48
+copyright = year_duration + " Brent Rubell"
49
author = "Brent Rubell"
50
51
# The version info for the project you're documenting, acts as replacement for
0 commit comments