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 d8eef93 commit f7d7ed1Copy full SHA for f7d7ed1
docs/conf.py
@@ -80,8 +80,14 @@
80
81
# General information about the project.
82
project = "Adafruit's CCS811 Library"
83
+creation_year = "2016"
84
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Dean Miller, Scott Shawcroft"
85
+year_duration = (
86
+ current_year
87
+ if current_year == creation_year
88
+ else creation_year + " - " + current_year
89
+)
90
+copyright = year_duration + " Dean Miller, Scott Shawcroft"
91
author = "Dean Miller, Scott Shawcroft"
92
93
# The version info for the project you're documenting, acts as replacement for
0 commit comments