Skip to content

Commit 8629457

Browse files
author
Alec Delaney
committed
Keep copyright up to date in documentation
1 parent 800ecd0 commit 8629457

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

@@ -39,7 +40,8 @@
3940

4041
# General information about the project.
4142
project = "Adafruit BME680 Library"
42-
copyright = "2017 ladyada"
43+
current_year = str(datetime.datetime.now().year)
44+
copyright = current_year + " ladyada"
4345
author = "ladyada"
4446

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

0 commit comments

Comments
 (0)