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