diff --git a/docs/conf.py b/docs/conf.py index 8262a43f..72a8a1fe 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,11 +14,12 @@ # import sys # sys.path.insert(0, os.path.abspath('.')) +import datetime # -- Project information ----------------------------------------------------- project = 'aiogram-dialog' -copyright = '2021, Tishka17' +copyright = f'{datetime.date.today().year}, Tishka17' author = 'Tishka17' master_doc = 'index' @@ -29,6 +30,7 @@ # ones. extensions = [ 'sphinx.ext.autodoc', + 'sphinx_copybutton', ] autodoc_type_aliases = { } @@ -42,7 +44,6 @@ # This pattern also affects html_static_path and html_extra_path. exclude_patterns = [] - # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for @@ -50,7 +51,6 @@ # html_theme = 'furo' - # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css".