Skip to content

Commit a74f252

Browse files
author
Alec Delaney
committed
Keep copyright up to date in documentation
1 parent f4ffa72 commit a74f252

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: docs/conf.py

+3-1
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

@@ -47,7 +48,8 @@
4748

4849
# General information about the project.
4950
project = "Adafruit ESP32SPI Library"
50-
copyright = "2019 ladyada"
51+
current_year = str(datetime.datetime.now().year)
52+
copyright = current_year + " ladyada"
5153
author = "ladyada"
5254

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

0 commit comments

Comments
 (0)