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 b82f3aa commit 690c285Copy full SHA for 690c285
docs/conf.py
@@ -55,8 +55,14 @@
55
56
# General information about the project.
57
project = "Adafruit TMP117 Library"
58
+creation_year = "2020"
59
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Bryan Siepert"
60
+year_duration = (
61
+ current_year
62
+ if current_year == creation_year
63
+ else creation_year + " - " + current_year
64
+)
65
+copyright = year_duration + " Bryan Siepert"
66
author = "Bryan Siepert"
67
68
# The version info for the project you're documenting, acts as replacement for
0 commit comments