We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14812c9 commit df768acCopy full SHA for df768ac
docs/conf.py
@@ -48,8 +48,14 @@
48
49
# General information about the project.
50
project = "Adafruit MCP3xxx Library"
51
+creation_year = "2018"
52
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " ladyada"
53
+year_duration = (
54
+ current_year
55
+ if current_year == creation_year
56
+ else creation_year + " - " + current_year
57
+)
58
+copyright = year_duration + " ladyada"
59
author = "ladyada"
60
61
# The version info for the project you're documenting, acts as replacement for
0 commit comments