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