Skip to content

Commit a35f3d6

Browse files
Make copyright dynamic in docs
1 parent 8722ce2 commit a35f3d6

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
@@ -5,6 +5,7 @@
55
# https://www.sphinx-doc.org/en/master/usage/configuration.html
66
import os
77
import sys
8+
from datetime import datetime
89

910
# -- Path setup --------------------------------------------------------------
1011

@@ -21,7 +22,8 @@
2122
# -- Project information -----------------------------------------------------
2223

2324
project = "Docs"
24-
copyright = "2023, Hypernode"
25+
current_year = datetime.now().year
26+
copyright = f"{current_year}, Hypernode"
2527
author = "Hypernode"
2628

2729
# The full version, including alpha/beta/rc tags

0 commit comments

Comments
 (0)