datasalad/docs/conf.py
Michael Hanke a2fe3ab317 chore: tune documentation setup
Use a leaner automodule documentation. Go with a select list of
to-be-documented module content, rather than everything. This enables
using content overview tables without running into duplication issues
with Sphinx.

Use the RTD theme and polish the presentation of information a bit.
2024-09-29 10:57:50 +02:00

37 lines
1.1 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 datasalad
project = 'datasalad'
copyright = '2024, DataLad team'
author = 'DataLad team'
release = datasalad.__version__
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = [
'sphinx.ext.autosummary',
'sphinx.ext.autodoc',
'sphinx.ext.autodoc.typehints',
'sphinx.ext.viewcode',
]
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
primary_domain = 'py'
autoclass_content = "both"
# -- 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']