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 aa72bbb commit 6234787Copy full SHA for 6234787
docs/conf.py
@@ -61,8 +61,14 @@
61
62
# General information about the project.
63
project = "Adafruit seesaw Library"
64
+creation_year = "2017"
65
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Dean Miller"
66
+year_duration = (
67
+ current_year
68
+ if current_year == creation_year
69
+ else creation_year + " - " + current_year
70
+)
71
+copyright = year_duration + " Dean Miller"
72
author = "Dean Miller"
73
74
# The version info for the project you're documenting, acts as replacement for
0 commit comments