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 ff4d691 commit ef3c5e5Copy full SHA for ef3c5e5
docs/conf.py
@@ -47,8 +47,14 @@
47
48
# General information about the project.
49
project = "Adafruit DisplayIO_SH1107 Library"
50
+creation_year = "2020"
51
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Mark Roberts"
52
+year_duration = (
53
+ current_year
54
+ if current_year == creation_year
55
+ else creation_year + " - " + current_year
56
+)
57
+copyright = year_duration + " Mark Roberts"
58
author = "Mark Roberts"
59
60
# The version info for the project you're documenting, acts as replacement for
0 commit comments