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 1145e04 commit 587d1a4Copy full SHA for 587d1a4
docs/conf.py
@@ -43,8 +43,14 @@
43
44
# General information about the project.
45
project = "Adafruit NTP Library"
46
+creation_year = "2019"
47
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Brent Rubell"
48
+year_duration = (
49
+ current_year
50
+ if current_year == creation_year
51
+ else creation_year + " - " + current_year
52
+)
53
+copyright = year_duration + " Brent Rubell"
54
author = "Brent Rubell"
55
56
# The version info for the project you're documenting, acts as replacement for
0 commit comments