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