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