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 cb07cca commit c59df6bCopy full SHA for c59df6b
docs/conf.py
@@ -43,8 +43,14 @@
43
44
# General information about the project.
45
project = "Adafruit SD Card Library"
46
+creation_year = "2017"
47
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Scott Shawcroft"
48
+year_duration = (
49
+ current_year
50
+ if current_year == creation_year
51
+ else creation_year + " - " + current_year
52
+)
53
+copyright = year_duration + " Scott Shawcroft"
54
author = "Scott Shawcroft"
55
56
# The version info for the project you're documenting, acts as replacement for
0 commit comments