We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caf51e5 commit f67f0e7Copy full SHA for f67f0e7
docs/conf.py
@@ -36,8 +36,14 @@
36
37
# General information about the project.
38
project = "Adafruit GPS Library"
39
+creation_year = "2017"
40
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Tony DiCola, James Carr"
41
+year_duration = (
42
+ current_year
43
+ if current_year == creation_year
44
+ else creation_year + " - " + current_year
45
+)
46
+copyright = year_duration + " Tony DiCola, James Carr"
47
author = "Tony DiCola, James Carr"
48
49
# The version info for the project you're documenting, acts as replacement for
0 commit comments