Skip to content

Commit 89f07c3

Browse files
fix: update copyright year format to reflect the current year dynamically
1 parent fcb4854 commit 89f07c3

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
@@ -1,12 +1,14 @@
11
import os
22
import sys
3+
from datetime import datetime
34

45

56
sys.path.insert(0, os.path.abspath('../'))
67
sys.path.insert(0, os.path.abspath('../optiland/'))
78

89
project = 'Optiland'
9-
copyright = '2024-%Y, Kramer Harrison'
10+
current_year = datetime.now().year
11+
copyright = f'2024-{current_year}, Kramer Harrison'
1012
author = 'Kramer Harrison'
1113
release = '0.2.0'
1214

0 commit comments

Comments
 (0)