Skip to content

Commit ed25202

Browse files
committed
make the docs copyright year automated
1 parent 1acc825 commit ed25202

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/conf.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
import sys
1616
import os
17+
import datetime
1718
from dotenv import load_dotenv
1819

1920
# If extensions (or modules to document with autodoc) are in another directory,
@@ -52,8 +53,10 @@
5253
master_doc = 'index'
5354

5455
# General information about the project.
56+
57+
year = datetime.datetime.now().year
5558
project = 'DeepDiff'
56-
copyright = '2015-2024, Sep Dehpour'
59+
copyright = '2015-{}, Sep Dehpour'.format(year)
5760
author = 'Sep Dehpour'
5861

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

0 commit comments

Comments
 (0)