We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80c5991 commit 304f590Copy full SHA for 304f590
docs/conf.py
@@ -51,8 +51,14 @@
51
52
# General information about the project.
53
project = "Adafruit HTS221 Library"
54
+creation_year = "2020"
55
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Bryan Siepert"
56
+year_duration = (
57
+ current_year
58
+ if current_year == creation_year
59
+ else creation_year + " - " + current_year
60
+)
61
+copyright = year_duration + " Bryan Siepert"
62
author = "Bryan Siepert"
63
64
# The version info for the project you're documenting, acts as replacement for
0 commit comments