# 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 = 'papier-crayon'
copyright = '2024-2025, M. Le Meur'
author = 'M. Le Meur'
release = '0.1.7a'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = ['myst_parser']

source_suffix = {
    '.rst': 'restructuredtext',
    '.txt': 'restructuredtext',
    '.md': 'markdown',
}


templates_path = ['_templates']
exclude_patterns = []

language = 'fr'

# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'alabaster'
html_static_path = ['_static']

html_theme_options = {
    'show_relbars': 'True',
    'admonition_bg': '#dcb',
    'note_bg': '#fd8',
    'seealso_bg': '#aec',
    'danger_bg': '#b55',
    'error_bg': '#b82',
    'tip_bg': '#b0f',
    'hint_bg': '#dad',
    'important_bg': '#24f',
    'caution_bg': '#fe6',
    'attention_bg': '#fd6',
    'warn_bg': '#fc6',
}
