datalad-core/docs/conf.py
Michael Hanke aca9d78771
All checks were successful
Codespell / Check for spelling errors (push) Successful in 31s
Ruff / Code linting (push) Successful in 39s
Type annotation (project) / check (push) Successful in 51s
Unit tests (Linux) / check (push) Successful in 1m53s
chore: update copyright
2026-05-25 16:56:24 +02:00

39 lines
1.2 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
import datalad_core
project = 'datalad-core'
copyright = '2024-2026, DataLad team'
author = 'DataLad team'
release = datalad_core.__version__
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = [
'sphinx.ext.autosummary',
'sphinx.ext.autodoc',
'sphinx_autodoc_typehints',
'sphinx.ext.viewcode',
]
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
primary_domain = 'py'
autoclass_content = "both"
typehints_use_signature = True
typehints_use_signature_return = True
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']