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 0cf6ad4 commit cf7bfdfCopy full SHA for cf7bfdf
docs/conf.py
@@ -51,8 +51,14 @@
51
52
# General information about the project.
53
project = "Adafruit FRAM Library"
54
+creation_year = "2018"
55
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Michael Schroeder"
56
+year_duration = (
57
+ current_year
58
+ if current_year == creation_year
59
+ else creation_year + " - " + current_year
60
+)
61
+copyright = year_duration + " Michael Schroeder"
62
author = "Michael Schroeder"
63
64
# The version info for the project you're documenting, acts as replacement for
0 commit comments