2023-10-28 17:48:37 -05: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
|
|
|
|
|
2024-06-30 20:40:23 -05:00
|
|
|
from importlib.metadata import version as get_version
|
|
|
|
|
2023-10-28 17:48:37 -05:00
|
|
|
project = 'WuttJamaican'
|
2024-06-30 20:40:23 -05:00
|
|
|
copyright = '2023-2024, Lance Edgar'
|
2023-10-28 17:48:37 -05:00
|
|
|
author = 'Lance Edgar'
|
2024-06-30 20:40:23 -05:00
|
|
|
release = get_version('WuttJamaican')
|
2023-10-28 17:48:37 -05:00
|
|
|
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
|
|
|
|
|
|
extensions = [
|
|
|
|
'sphinx.ext.autodoc',
|
|
|
|
'sphinx.ext.intersphinx',
|
2023-11-22 11:13:39 -06:00
|
|
|
'sphinxcontrib.programoutput',
|
2023-11-21 20:48:44 -06:00
|
|
|
'sphinx.ext.viewcode',
|
2023-10-28 17:48:37 -05:00
|
|
|
'sphinx.ext.todo',
|
2024-08-24 10:20:05 -05:00
|
|
|
'enum_tools.autoenum',
|
2023-10-28 17:48:37 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
templates_path = ['_templates']
|
|
|
|
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
|
|
|
|
|
|
|
intersphinx_mapping = {
|
2024-11-24 10:13:56 -06:00
|
|
|
'mako': ('https://docs.makotemplates.org/en/latest/', None),
|
2023-11-24 17:32:45 -06:00
|
|
|
'packaging': ('https://packaging.python.org/en/latest/', None),
|
2023-11-19 14:22:25 -06:00
|
|
|
'python': ('https://docs.python.org/3/', None),
|
2023-10-28 17:48:37 -05:00
|
|
|
'python-configuration': ('https://python-configuration.readthedocs.io/en/latest/', None),
|
|
|
|
'rattail': ('https://rattailproject.org/docs/rattail/', None),
|
|
|
|
'rattail-manual': ('https://rattailproject.org/docs/rattail-manual/', None),
|
2024-11-24 10:13:56 -06:00
|
|
|
'rich': ('https://rich.readthedocs.io/en/latest/', None),
|
2023-10-28 17:48:37 -05:00
|
|
|
'sqlalchemy': ('http://docs.sqlalchemy.org/en/latest/', None),
|
2024-08-27 20:26:22 -05:00
|
|
|
'wutta-continuum': ('https://rattailproject.org/docs/wutta-continuum/', None),
|
2023-10-28 17:48:37 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# -- Options for HTML output -------------------------------------------------
|
|
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
|
|
|
|
2024-06-30 20:22:42 -05:00
|
|
|
html_theme = 'furo'
|
2023-10-28 17:48:37 -05:00
|
|
|
html_static_path = ['_static']
|