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 42bf709 commit 63cb019Copy full SHA for 63cb019
docs/conf.py
@@ -46,8 +46,14 @@
46
47
# General information about the project.
48
project = "Adafruit CircuitPython DHT Library"
49
+creation_year = "2017"
50
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Mike McWethy"
51
+year_duration = (
52
+ current_year
53
+ if current_year == creation_year
54
+ else creation_year + " - " + current_year
55
+)
56
+copyright = year_duration + " Mike McWethy"
57
author = "Mike McWethy"
58
59
# The version info for the project you're documenting, acts as replacement for
0 commit comments