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