mondarth-campaign/docs/conf.py

42 lines
1.4 KiB
Python
Raw Permalink Normal View History

2025-07-14 19:00:35 +01: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
project = 'A Module'
copyright = 'Author Copyright'
author = 'Author'
release = '0.1.0'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = ['sphinx_rtd_theme', 'sphinx.ext.todo', 'sphinxcontrib.mermaid', 'sphinxcontrib.youtube', 'sphinx_design']
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# -- 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']
# -- Esure TODOs are output (these should all be cleared before a commit)
# https://www.sphinx-doc.org/en/master/usage/extensions/todo.html#directive-todo
todo_include_todos = True
todo_emit_warnings = True
rst_prolog = """
.. |LSP| replace:: :abbr:`LSP (Language Server Protocol)`
.. |HMR| replace:: :abbr:`HMR (Hot Module Reload)`
.. |IMHO| replace:: :abbr:`IMHO (In My Humble Opinion)`
"""