mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-24 02:47:29 +00:00
Update conf.py
- Copyright year - Docstrings params fixes
This commit is contained in:
parent
9c0210e87a
commit
52e905d6e7
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
from datetime import datetime
|
||||||
|
|
||||||
sys.path.insert(0, os.path.abspath("../.."))
|
sys.path.insert(0, os.path.abspath("../.."))
|
||||||
|
|
||||||
@ -28,7 +29,7 @@ from pygments.styles.friendly import FriendlyStyle
|
|||||||
FriendlyStyle.background_color = "#f3f2f1"
|
FriendlyStyle.background_color = "#f3f2f1"
|
||||||
|
|
||||||
project = "Pyrogram"
|
project = "Pyrogram"
|
||||||
copyright = "2017-2021, Dan"
|
copyright = f"2017-{datetime.now().year}, Dan"
|
||||||
author = "Dan"
|
author = "Dan"
|
||||||
|
|
||||||
extensions = [
|
extensions = [
|
||||||
@ -68,6 +69,8 @@ html_theme_options = {
|
|||||||
"style_external_links": True
|
"style_external_links": True
|
||||||
}
|
}
|
||||||
|
|
||||||
|
napoleon_use_param = False
|
||||||
|
|
||||||
html_logo = "_images/pyrogram.png"
|
html_logo = "_images/pyrogram.png"
|
||||||
html_favicon = "_images/favicon.ico"
|
html_favicon = "_images/favicon.ico"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user