# Copyright (C) 2021-2025 by the RBniCSx authors
#
# This file is part of RBniCSx.
#
# SPDX-License-Identifier: LGPL-3.0-or-later
"""RBniCSx documentation configuration."""

# Project information
project = "RBniCSx"
copyright = "2021-2025, the RBniCSx authors"
author = "Francesco Ballarin"

# General configuration
extensions = [
    "sphinx.ext.autodoc",
    "sphinx.ext.autosummary",
    "sphinx.ext.napoleon",
    "sphinx.ext.viewcode"
]

# Extensions configuration
autodoc_default_options = {
    "exclude-members": ",".join([  # noqa: FLY002
        "__abstractmethods__", "__dict__", "__init__", "__module__", "__orig_bases__",
         "__parameters__", "__weakref__"
    ]),
    "imported-members": True,
    "members": True,
    "show-inheritance": True,
    "special-members": True,
    "undoc-members": True
}

# Options for HTML output
html_theme = "nature"
