We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 129e394 commit 0b0b5b9Copy full SHA for 0b0b5b9
docs/conf.py
@@ -44,8 +44,14 @@
44
45
# General information about the project.
46
project = "Adafruit BLE_Heart_Rate Library"
47
+creation_year = "2020"
48
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Adafruit Industries"
49
+year_duration = (
50
+ current_year
51
+ if current_year == creation_year
52
+ else creation_year + " - " + current_year
53
+)
54
+copyright = year_duration + " Adafruit Industries"
55
author = "Adafruit Industries"
56
57
# The version info for the project you're documenting, acts as replacement for
0 commit comments