copapy/docs/source/conf.py

40 lines
1.3 KiB
Python
Raw Normal View History

2025-12-06 17:11:42 +00:00
# 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
import os
import sys
sys.path.insert(0, os.path.abspath("../src/"))
project = 'copapy'
copyright = '2025, Nicolas Kruse'
author = 'Nicolas Kruse'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon", "sphinx_autodoc_typehints", "myst_parser"]
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 = 'alabaster'
html_theme = 'pydata_sphinx_theme'
html_static_path = ['_static']
2025-12-22 14:39:17 +00:00
html_css_files = ['custom.css']
2025-12-06 17:11:42 +00:00
html_theme_options = {
"secondary_sidebar_items": ["page-toc"],
"footer_start": ["copyright"]
}
html_theme_options["footer_end"] = []
autodoc_inherit_docstrings = True
2025-12-22 14:39:17 +00:00
autoclass_content = 'both'