Skip to content

Commit 6f672a2

Browse files
author
Alec Delaney
committed
Keep copyright up to date in documentation
1 parent 2a993cb commit 6f672a2

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

@@ -66,7 +67,8 @@
6667

6768
# General information about the project.
6869
project = "Adafruit turtle Library"
69-
copyright = "2019 Adafruit"
70+
current_year = str(datetime.datetime.now().year)
71+
copyright = current_year + " Adafruit"
7072
author = "Adafruit"
7173

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

0 commit comments

Comments
 (0)