Skip to content

Commit 37858a7

Browse files
author
Alec Delaney
committed
Keep copyright up to date in documentation
1 parent c2a184f commit 37858a7

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

@@ -46,7 +47,8 @@
4647

4748
# General information about the project.
4849
project = "Adafruit MLX90614 Library"
49-
copyright = "2018 Mikey Sklar"
50+
current_year = str(datetime.datetime.now().year)
51+
copyright = current_year + " Mikey Sklar"
5052
author = "Mikey Sklar"
5153

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

0 commit comments

Comments
 (0)