"""Sphinx configuration for Hand Tracking SDK documentation."""

from __future__ import annotations

import os
import sys
from datetime import datetime

sys.path.insert(0, os.path.abspath("../src"))

project = "Hand Tracking SDK"
copyright = f"{datetime.now().year}, Hand Tracking SDK Contributors"
author = "Hand Tracking SDK Contributors"

extensions = [
    "sphinx.ext.autodoc",
    "sphinx.ext.autosummary",
    "sphinx.ext.viewcode",
]

autosummary_generate = True
autodoc_member_order = "bysource"
autodoc_typehints = "description"

templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]

html_theme = "furo"
html_static_path = ["_static"]

html_logo = "_static/sdk_logo.png"
html_favicon = "_static/favicon.ico"