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 41e8bef commit 32ec2d9Copy full SHA for 32ec2d9
docs/conf.py
@@ -55,8 +55,14 @@
55
56
# General information about the project.
57
project = "Adafruit MagTag Library"
58
+creation_year = "2020"
59
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Melissa LeBlanc-Williams"
60
+year_duration = (
61
+ current_year
62
+ if current_year == creation_year
63
+ else creation_year + " - " + current_year
64
+)
65
+copyright = year_duration + " Melissa LeBlanc-Williams"
66
author = "Melissa LeBlanc-Williams"
67
68
# The version info for the project you're documenting, acts as replacement for
0 commit comments