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 c777ebc commit 43a4f15Copy full SHA for 43a4f15
docs/conf.py
@@ -41,8 +41,14 @@
41
42
# General information about the project.
43
project = "Adafruit Thermistor Library"
44
+creation_year = "2017"
45
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Scott Shawcroft"
46
+year_duration = (
47
+ current_year
48
+ if current_year == creation_year
49
+ else creation_year + " - " + current_year
50
+)
51
+copyright = year_duration + " Scott Shawcroft"
52
author = "Scott Shawcroft"
53
54
# The version info for the project you're documenting, acts as replacement for
0 commit comments