mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-08 07:54:52 +00:00
Update conf.py
- Copyright year - Docstrings params fixes
This commit is contained in:
parent
9c0210e87a
commit
52e905d6e7
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Reference in a new issue