Skip to content

Commit baa0429

Browse files
author
Alec Delaney
committed
Keep copyright up to date in documentation
1 parent 4d68643 commit baa0429

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

@@ -35,7 +36,8 @@
3536

3637
# General information about the project.
3738
project = "Adafruit HID Library"
38-
copyright = "2017 Scott Shawcroft"
39+
current_year = str(datetime.datetime.now().year)
40+
copyright = current_year + " Scott Shawcroft"
3941
author = "Scott Shawcroft"
4042

4143
# Ignore imports of these modules, which sphinx will not know about.

0 commit comments

Comments
 (0)