Skip to content

Commit 37f8d63

Browse files
committed
Add automatic update of copyright year
1 parent a35a47a commit 37f8d63

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
# full list see the documentation:
77
# http://www.sphinx-doc.org/en/master/config
88

9+
from datetime import datetime
10+
911
from sphinx.ext.autodoc import FunctionDocumenter
1012

1113
from dpnp.dpnp_algo.dpnp_elementwise_common import DPNPBinaryFunc, DPNPUnaryFunc
@@ -32,7 +34,8 @@
3234
# -- Project information -----------------------------------------------------
3335

3436
project = "Data Parallel Extension for NumPy"
35-
copyright = "2020-2024, Intel Corporation"
37+
year = datetime.now().year
38+
copyright = f"2020-{year}, Intel Corporation"
3639
author = "Intel"
3740

3841
version = dpnp.__version__.strip(".dirty")

0 commit comments

Comments
 (0)