Skip to content

Commit 3e8436c

Browse files
author
Alec Delaney
committed
Keep copyright up to date in documentation
1 parent b3f3ec8 commit 3e8436c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import os
88
import sys
9+
import datetime
910

1011
sys.path.insert(0, os.path.abspath(".."))
1112

@@ -44,7 +45,8 @@
4445

4546
# General information about the project.
4647
project = "Adafruit SSD1331 Library"
47-
copyright = "2019 Melissa LeBlanc-Williams"
48+
current_year = str(datetime.datetime.now().year)
49+
copyright = current_year + " Melissa LeBlanc-Williams"
4850
author = "Melissa LeBlanc-Williams"
4951

5052
# The version info for the project you're documenting, acts as replacement for

0 commit comments

Comments
 (0)