We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee4660e commit 0a8fcbfCopy full SHA for 0a8fcbf
docs/conf.py
@@ -38,8 +38,14 @@
38
39
# General information about the project.
40
project = "Adafruit CircuitPython SimpleIO Library"
41
+creation_year = "2017"
42
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Scott Shawcroft"
43
+year_duration = (
44
+ current_year
45
+ if current_year == creation_year
46
+ else creation_year + " - " + current_year
47
+)
48
+copyright = year_duration + " Scott Shawcroft"
49
author = "Scott Shawcroft"
50
51
# The version info for the project you're documenting, acts as replacement for
0 commit comments