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 deb82d2 commit 237ed2bCopy full SHA for 237ed2b
docs/conf.py
@@ -56,8 +56,14 @@
56
57
# General information about the project.
58
project = "Adafruit Gizmo Library"
59
+creation_year = "2019"
60
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Carter Nelson"
61
+year_duration = (
62
+ current_year
63
+ if current_year == creation_year
64
+ else creation_year + " - " + current_year
65
+)
66
+copyright = year_duration + " Carter Nelson"
67
author = "Carter Nelson"
68
69
# The version info for the project you're documenting, acts as replacement for
0 commit comments