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