We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eecfc51 commit a6f916aCopy full SHA for a6f916a
docs/conf.py
@@ -58,8 +58,14 @@
58
59
# General information about the project.
60
project = "Adafruit CircuitPlayground Library"
61
+creation_year = "2017"
62
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Scott Shawcroft"
63
+year_duration = (
64
+ current_year
65
+ if current_year == creation_year
66
+ else creation_year + " - " + current_year
67
+)
68
+copyright = year_duration + " Scott Shawcroft"
69
author = "Scott Shawcroft"
70
71
# The version info for the project you're documenting, acts as replacement for
0 commit comments