Skip to content

Commit ca6f722

Browse files
authored
fix: update conf.py to fix copyright (#173)
1 parent 8125fd6 commit ca6f722

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# For the full list of built-in configuration values, see the documentation:
55
# https://www.sphinx-doc.org/en/master/usage/configuration.html
66
import re
7+
import datetime
78
from pathlib import Path
89
import io
910
from sphinx.application import Sphinx
@@ -12,7 +13,7 @@
1213
# -- Project information -----------------------------------------------------
1314
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
1415
project = "commit-check"
15-
copyright = "2023, shenxianpeng"
16+
copyright = f"{datetime.date.today().year}, shenxianpeng"
1617
author = "shenxianpeng"
1718

1819
# -- General configuration ---------------------------------------------------

0 commit comments

Comments
 (0)