Skip to content

Commit 5211c63

Browse files
author
Alec Delaney
committed
Keep copyright up to date in documentation
1 parent add4c21 commit 5211c63

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
@@ -7,6 +7,7 @@
77

88
import os
99
import sys
10+
import datetime
1011

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

@@ -48,7 +49,8 @@
4849

4950
# General information about the project.
5051
project = "Adafruit ST7565 Library"
51-
copyright = "2021 ladyada"
52+
current_year = str(datetime.datetime.now().year)
53+
copyright = current_year + " ladyada"
5254
author = "ladyada, Mark Olsson"
5355

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

0 commit comments

Comments
 (0)