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