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 7aeaa9b commit 7a2763eCopy full SHA for 7a2763e
docs/conf.py
@@ -60,8 +60,14 @@
60
61
# General information about the project.
62
project = "Adafruit BoardTest Library"
63
+creation_year = "2018"
64
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Shawn Hymel"
65
+year_duration = (
66
+ current_year
67
+ if current_year == creation_year
68
+ else creation_year + " - " + current_year
69
+)
70
+copyright = year_duration + " Shawn Hymel"
71
author = "Shawn Hymel"
72
73
# The version info for the project you're documenting, acts as replacement for
0 commit comments