diff --git a/docs/source/conf.py b/docs/source/conf.py index ca1d54d9..a9fcef52 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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"