2024-07-12 00:17:15 -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
|
|
|
|
|
|
|
|
from importlib.metadata import version as get_version
|
|
|
|
|
2025-08-31 12:26:43 -05:00
|
|
|
project = "WuttaWeb"
|
|
|
|
copyright = "2024, Lance Edgar"
|
|
|
|
author = "Lance Edgar"
|
|
|
|
release = get_version("WuttaWeb")
|
2024-07-12 00:17:15 -05:00
|
|
|
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
|
|
|
|
|
|
extensions = [
|
2025-08-31 12:26:43 -05:00
|
|
|
"sphinx.ext.autodoc",
|
|
|
|
"sphinx.ext.intersphinx",
|
|
|
|
"sphinx.ext.viewcode",
|
|
|
|
"sphinx.ext.todo",
|
|
|
|
"sphinxcontrib.programoutput",
|
2024-07-12 00:17:15 -05:00
|
|
|
]
|
|
|
|
|
2025-08-31 12:26:43 -05:00
|
|
|
templates_path = ["_templates"]
|
|
|
|
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
|
2024-07-12 00:17:15 -05:00
|
|
|
|
|
|
|
intersphinx_mapping = {
|
2025-08-31 12:26:43 -05:00
|
|
|
"colander": ("https://docs.pylonsproject.org/projects/colander/en/latest/", None),
|
|
|
|
"deform": ("https://docs.pylonsproject.org/projects/deform/en/latest/", None),
|
|
|
|
"fanstatic": ("https://www.fanstatic.org/en/latest/", None),
|
|
|
|
"pyramid": ("https://docs.pylonsproject.org/projects/pyramid/en/latest/", None),
|
|
|
|
"python": ("https://docs.python.org/3/", None),
|
|
|
|
"rattail-manual": ("https://docs.wuttaproject.org/rattail-manual/", None),
|
|
|
|
"sqlalchemy": ("http://docs.sqlalchemy.org/en/latest/", None),
|
|
|
|
"webhelpers2": ("https://webhelpers2.readthedocs.io/en/latest/", None),
|
|
|
|
"wuttjamaican": ("https://docs.wuttaproject.org/wuttjamaican/", None),
|
|
|
|
"wutta-continuum": ("https://docs.wuttaproject.org/wutta-continuum/", None),
|
2024-07-12 00:17:15 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# -- Options for HTML output -------------------------------------------------
|
|
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
|
|
|
|
2025-08-31 12:26:43 -05:00
|
|
|
html_theme = "furo"
|
|
|
|
html_static_path = ["_static"]
|