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 6e6c04b commit aa1efa7Copy full SHA for aa1efa7
docs/conf.py
@@ -49,8 +49,14 @@
49
50
# General information about the project.
51
project = "Adafruit SHT31D Library"
52
+creation_year = "2017"
53
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Jerry Needell"
54
+year_duration = (
55
+ current_year
56
+ if current_year == creation_year
57
+ else creation_year + " - " + current_year
58
+)
59
+copyright = year_duration + " Jerry Needell"
60
author = "Jerry Needell"
61
62
# The version info for the project you're documenting, acts as replacement for
0 commit comments