Files
2026-06-04 23:21:39 +08:00

43 lines
1.3 KiB
Python

# 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 = 'mxpic_handbook'
copyright = '2026, Qin Yue (PotatoMaxwell)'
author = 'Qin Yue (PotatoMaxwell)'
release = 'mxpic'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parents[2]))
extensions = [
'sphinx.ext.autodoc', # Automatically pull docstrings
'sphinx.ext.napoleon', # Support for NumPy-style docstrings
'myst_parser', # Support for Markdown[cite: 1]
'sphinx_autodoc_typehints', # Use your Python type hints[cite: 1]
]
source_suffix = {
'.rst': 'restructuredtext',
'.md': 'markdown',
}
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"