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