"""Sphinx configuration for FourJ.""" from __future__ import annotations from pathlib import Path import sys ROOT = Path(__file__).resolve().parents[1] sys.path.insert(0, str(ROOT / "src")) project = "FourJ" author = "Anders B" release = "0.1.0" extensions = [ "myst_parser", "sphinx.ext.autodoc", "sphinx.ext.mathjax", "sphinx.ext.napoleon", "sphinx.ext.viewcode", ] autodoc_typehints = "description" autodoc_member_order = "bysource" napoleon_google_docstring = True napoleon_numpy_docstring = True templates_path = ["_templates"] exclude_patterns: list[str] = [] html_theme = "sphinx_rtd_theme" html_static_path = ["_static"]