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