We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f9f7cc commit 968f97dCopy full SHA for 968f97d
docs/conf.py
@@ -52,8 +52,14 @@
52
53
# General information about the project.
54
project = "Adafruit LIS331 Library"
55
+creation_year = "2020"
56
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Bryan Siepert"
57
+year_duration = (
58
+ current_year
59
+ if current_year == creation_year
60
+ else creation_year + " - " + current_year
61
+)
62
+copyright = year_duration + " Bryan Siepert"
63
author = "Bryan Siepert"
64
65
# The version info for the project you're documenting, acts as replacement for
0 commit comments