Update conf.py

- Copyright year
- Docstrings params fixes
This commit is contained in:
Dan 2021-03-03 18:51:26 +01:00
parent 9c0210e87a
commit 52e905d6e7

View File

@ -18,6 +18,7 @@
import os
import sys
from datetime import datetime
sys.path.insert(0, os.path.abspath("../.."))
@ -28,7 +29,7 @@ from pygments.styles.friendly import FriendlyStyle
FriendlyStyle.background_color = "#f3f2f1"
project = "Pyrogram"
copyright = "2017-2021, Dan"
copyright = f"2017-{datetime.now().year}, Dan"
author = "Dan"
extensions = [
@ -68,6 +69,8 @@ html_theme_options = {
"style_external_links": True
}
napoleon_use_param = False
html_logo = "_images/pyrogram.png"
html_favicon = "_images/favicon.ico"