mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 08:55:15 +00:00
49 lines
1.4 KiB
Python
49 lines
1.4 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
|
||
|
|
||
|
import sys
|
||
|
from pathlib import Path
|
||
|
|
||
|
# Make source file directories available to sphinx
|
||
|
sys.path.insert(0, str(Path("..", "src").resolve()))
|
||
|
|
||
|
# -- Project information -----------------------------------------------------
|
||
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
||
|
|
||
|
project = "Akkudoktor EOS"
|
||
|
copyright = "2024, Andreas Schmitz"
|
||
|
author = "Andreas Schmitz"
|
||
|
release = "0.0.1"
|
||
|
|
||
|
# -- General configuration ---------------------------------------------------
|
||
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
||
|
|
||
|
extensions = [
|
||
|
"sphinx.ext.autodoc",
|
||
|
"sphinx.ext.autosummary",
|
||
|
"sphinx_rtd_theme",
|
||
|
"myst_parser",
|
||
|
]
|
||
|
|
||
|
templates_path = ["_templates"]
|
||
|
exclude_patterns = []
|
||
|
|
||
|
source_suffix = {
|
||
|
".rst": "restructuredtext",
|
||
|
".txt": "markdown",
|
||
|
".md": "markdown",
|
||
|
}
|
||
|
|
||
|
# -- 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"]
|
||
|
html_logo = "_static/logo.png"
|
||
|
html_theme_options = {
|
||
|
"logo_only": False,
|
||
|
"titles_only": True,
|
||
|
}
|