# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = "e2x-exam-sheets"
copyright = "2024, Tim Metzler"
author = "Tim Metzler"
release = "0.1.0"
github_project_url = "https://github.com/DigiKlausur/e2x-exam-sheets"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = []

templates_path = ["_templates"]
exclude_patterns = []


# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = "pydata_sphinx_theme"
html_theme_options = {
    "icon_links": [
        {
            "name": "GitHub",
            "url": github_project_url,
            "icon": "fa-brands fa-github",
        }
    ],
    "use_edit_page_button": True,
    "navbar_align": "left",
}
html_static_path = ["_static"]

html_context = {
    "github_user": "DigiKlausur",
    "github_repo": "e2x-exam-sheets",
    "github_version": "main",
    "doc_path": "docs/source",
}
