Skip to content

Commit 52e905d

Browse files
committed
Update conf.py
- Copyright year - Docstrings params fixes
1 parent 9c0210e commit 52e905d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/source/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import os
2020
import sys
21+
from datetime import datetime
2122

2223
sys.path.insert(0, os.path.abspath("../.."))
2324

@@ -28,7 +29,7 @@
2829
FriendlyStyle.background_color = "#f3f2f1"
2930

3031
project = "Pyrogram"
31-
copyright = "2017-2021, Dan"
32+
copyright = f"2017-{datetime.now().year}, Dan"
3233
author = "Dan"
3334

3435
extensions = [
@@ -68,6 +69,8 @@
6869
"style_external_links": True
6970
}
7071

72+
napoleon_use_param = False
73+
7174
html_logo = "_images/pyrogram.png"
7275
html_favicon = "_images/favicon.ico"
7376

0 commit comments

Comments
 (0)