Skip to content

Commit cab9854

Browse files
committed
Add programmatic year setting in docs
1 parent e730db7 commit cab9854

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# All configuration values have a default; values that are commented out
1212
# serve to show the default.
1313

14-
import sys, os
14+
from datetime import datetime
1515

1616
import splunklib
1717

@@ -43,7 +43,7 @@
4343

4444
# General information about the project.
4545
project = "Splunk SDK for Python"
46-
copyright = "2024, Splunk Inc"
46+
copyright = f"{datetime.now().year}, Splunk Inc."
4747

4848
# The version info for the project you're documenting, acts as replacement for
4949
# |version| and |release|, also used in various other places throughout the

0 commit comments

Comments
 (0)