this should work for simple API endpoint which requires an auth token. if more is needed, you'll have to override telemetry handler
40 lines
1.3 KiB
Python
40 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
|
|
|
|
from importlib.metadata import version as get_version
|
|
|
|
project = 'WuttaTell'
|
|
copyright = '2025, Lance Edgar'
|
|
author = 'Lance Edgar'
|
|
release = get_version('WuttaTell')
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
|
|
extensions = [
|
|
'sphinx.ext.autodoc',
|
|
'sphinx.ext.intersphinx',
|
|
'sphinx.ext.viewcode',
|
|
'sphinx.ext.todo',
|
|
'sphinxcontrib.programoutput',
|
|
]
|
|
|
|
templates_path = ['_templates']
|
|
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
|
|
|
intersphinx_mapping = {
|
|
'requests': ('https://requests.readthedocs.io/en/latest/', None),
|
|
'wuttjamaican': ('https://docs.wuttaproject.org/wuttjamaican/', None),
|
|
}
|
|
|
|
|
|
# -- Options for HTML output -------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
|
|
|
html_theme = 'furo'
|
|
html_static_path = ['_static']
|