Remove MkDocs

This commit is contained in:
Alex Root Junior 2021-05-13 00:13:09 +03:00
parent 7dd80d281f
commit e1cd7268a1
442 changed files with 4 additions and 9429 deletions

63
docs/conf.py Normal file
View file

@ -0,0 +1,63 @@
import datetime
import aiogram
project = "aiogram"
author = "aiogram Team"
copyright = f"{datetime.date.today().year}, {author}"
release = aiogram.__version__
api_version = aiogram.__api_version__
templates_path = ["_templates"]
html_theme = "furo"
html_logo = "_static/logo.png"
html_static_path = ["_static"]
todo_include_todos = True
pygments_style = "sphinx"
htmlhelp_basename = project
html_theme_options = {}
html_css_files = [
"stylesheets/extra.css",
]
highlight_language = 'python3'
extensions = [
"sphinx.ext.todo",
"sphinx.ext.viewcode",
"sphinx.ext.autodoc",
"sphinx.ext.ifconfig",
"sphinx.ext.intersphinx",
"sphinx-prompt",
"sphinx_substitution_extensions",
"sphinx_copybutton",
]
rst_prolog = f"""
.. |api_version| replace:: {aiogram.__api_version__}
.. role:: pycode(code)
:language: python3
"""
language = None
locale_dirs = ["locales"]
exclude_patterns = []
source_suffix = ".rst"
master_doc = "index"
latex_documents = [
(master_doc, f"{project}.tex", f"{project} Documentation", author, "manual"),
]
man_pages = [(master_doc, project, f"{project} Documentation", [author], 1)]
texinfo_documents = [
(
master_doc,
project,
f"{project} Documentation",
author,
project,
"Modern and fully asynchronous framework for Telegram Bot API",
"Miscellaneous",
),
]