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 76b9fcd commit 22ffffcCopy full SHA for 22ffffc
docs/conf.py
@@ -37,8 +37,14 @@
37
38
# General information about the project.
39
project = "Adafruit fancyled Library"
40
+creation_year = "2017"
41
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " PaintYourDragon"
42
+year_duration = (
43
+ current_year
44
+ if current_year == creation_year
45
+ else creation_year + " - " + current_year
46
+)
47
+copyright = year_duration + " PaintYourDragon"
48
author = "PaintYourDragon"
49
50
# The version info for the project you're documenting, acts as replacement for
0 commit comments