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 8687b2c commit cee6435Copy full SHA for cee6435
docs/conf.py
@@ -47,8 +47,14 @@
47
48
# General information about the project.
49
project = "Adafruit CircuitPython Ducky Library"
50
+creation_year = "2021"
51
current_year = str(datetime.datetime.now().year)
-copyright = current_year + " Eva Herrada"
52
+year_duration = (
53
+ current_year
54
+ if current_year == creation_year
55
+ else creation_year + " - " + current_year
56
+)
57
+copyright = year_duration + " Eva Herrada"
58
author = "Eva Herrada"
59
60
# Ignore imports of these modules, which sphinx will not know about.
0 commit comments