We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4555e88 commit 28e4b0bCopy full SHA for 28e4b0b
docs/conf.py
@@ -48,8 +48,14 @@
48
49
# General information about the project.
50
project = "Adafruit BMP3XX Library"
51
+creation_year = "2018"
52
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Carter Nelson"
53
+year_duration = (
54
+ current_year
55
+ if current_year == creation_year
56
+ else creation_year + " - " + current_year
57
+)
58
+copyright = year_duration + " Carter Nelson"
59
author = "Carter Nelson"
60
61
# The version info for the project you're documenting, acts as replacement for
0 commit comments