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 2504969 commit cad34afCopy full SHA for cad34af
docs/conf.py
@@ -42,8 +42,14 @@
42
43
# General information about the project.
44
project = "Adafruit ProgressBar Library"
45
+creation_year = "2020"
46
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Brent Rubell"
47
+year_duration = (
48
+ current_year
49
+ if current_year == creation_year
50
+ else creation_year + " - " + current_year
51
+)
52
+copyright = year_duration + " Brent Rubell"
53
author = "Brent Rubell"
54
55
# The version info for the project you're documenting, acts as replacement for
0 commit comments