import os
import sys
project = "SciRS2 Python"
copyright = "2026, COOLJAPAN OU (Team Kitasan)"
author = "Team Kitasan"
version = "0.4"
release = "0.4.3"
extensions = [
"sphinx.ext.autodoc", "sphinx.ext.napoleon", "sphinx.ext.viewcode", "sphinx.ext.intersphinx", "sphinx.ext.autosummary", "sphinx.ext.doctest", ]
napoleon_google_docstring = False
napoleon_numpy_docstring = True
napoleon_include_init_with_doc = True
napoleon_include_private_with_doc = False
napoleon_use_admonition_for_examples = True
napoleon_use_ivar = False
napoleon_use_param = True
napoleon_use_rtype = True
autodoc_default_options = {
"members": True,
"member-order": "bysource",
"special-members": "__call__",
"undoc-members": True,
"exclude-members": "__weakref__",
}
templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
source_suffix = ".rst"
master_doc = "index"
intersphinx_mapping = {
"python": ("https://docs.python.org/3/", None),
"numpy": ("https://numpy.org/doc/stable/", None),
"scipy": ("https://docs.scipy.org/doc/scipy/", None),
}
html_theme = "pydata_sphinx_theme"
html_theme_options = {
"github_url": "https://github.com/cool-japan/scirs",
"navbar_start": ["navbar-logo"],
"navbar_end": ["navbar-icon-links"],
"footer_items": ["copyright", "sphinx-version"],
"use_edit_page_button": False,
"show_toc_level": 2,
"navigation_depth": 3,
}
html_title = f"SciRS2 Python {release}"
html_static_path = ["_static"]
todo_include_todos = False
autosummary_generate = True