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