1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
import importlib.metadata
# Project --------------------------------------------------------------
project = "Flask-DebugToolbar"
version = release = importlib.metadata.version("flask-debugtoolbar").partition(".dev")[
0
]
# General --------------------------------------------------------------
default_role = "code"
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.extlinks",
"sphinx.ext.intersphinx",
"sphinxcontrib.log_cabinet",
"pallets_sphinx_themes",
]
autodoc_member_order = "bysource"
autodoc_typehints = "description"
autodoc_preserve_defaults = True
extlinks = {
"issue": ("https://github.com/pallets-eco/flask-debugtoolbar/issues/%s", "#%s"),
"pr": ("https://github.com/pallets-eco/flask-debugtoolbar/pull/%s", "#%s"),
}
intersphinx_mapping = {
"python": ("/usr/share/doc/python3/html", None),
"flasksqlalchemy": ("/usr/share/doc/flask-sqlalchemy-doc/html", None)
}
# HTML -----------------------------------------------------------------
html_theme = "flask"
html_static_path = ["_static"]
html_copy_source = False
html_show_copyright = False
html_use_index = False
html_domain_indices = False
|