import importlib.metadata
project = "ruopus"
author = "Jack Geraghty"
try:
release = importlib.metadata.version("ruopus")
except importlib.metadata.PackageNotFoundError:
release = "0.1.0"
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.napoleon",
"sphinx.ext.intersphinx",
"sphinx.ext.viewcode",
]
autosummary_generate = True
autodoc_member_order = "bysource"
autodoc_default_options = {
"members": True,
"undoc-members": False,
"show-inheritance": True,
}
napoleon_numpy_docstring = True
napoleon_google_docstring = False
intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),
"numpy": ("https://numpy.org/doc/stable", None),
}
html_theme = "alabaster"
templates_path = ["_templates"]
exclude_patterns = ["_build"]