# Configuration file for the Sphinx documentation builder.

project = "MicroPie"
author = "Harrison Erd"
release = "0.28"

extensions = [
    "sphinx.ext.autodoc",
    "sphinx.ext.autosummary",
    "sphinx.ext.doctest",
    "sphinx.ext.intersphinx",
    "sphinx.ext.napoleon",
    "sphinx.ext.todo",
    "sphinx.ext.viewcode",
]

autosummary_generate = True
autodoc_typehints = "description"
napoleon_google_docstring = True
napoleon_numpy_docstring = False
todo_include_todos = True

templates_path = ["_templates"]
exclude_patterns = []

# Theme settings
html_theme = "alabaster"
html_theme_options = {
    "description": "A minimal ASGI web framework",
    "github_user": "patx",
    "github_repo": "micropie",
    "fixed_sidebar": True,
    "extra_nav_links": {
        "Project README": "https://github.com/patx/micropie",
    },
}

pygments_style = "friendly"
html_static_path = ["_static"]
