takahe/docs/conf.py

35 wiersze
1.2 KiB
Python
Czysty Zwykły widok Historia

# 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
2022-11-27 23:16:01 +00:00
import pathlib
import sys
sys.path.insert(0, str(pathlib.Path(__file__).parent / "extensions"))
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = "Takahē"
copyright = "2022, Andrew Godwin"
author = "Andrew Godwin"
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
2022-11-27 23:16:01 +00:00
extensions: list = ["canonical_fix"]
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
2022-11-26 00:44:10 +00:00
html_theme = "furo"
html_static_path = ["_static"]
2022-11-24 00:14:04 +00:00
html_logo = "../static/img/logo-128.png"
html_favicon = "../static/img/icon-32.png"
2022-11-27 23:16:01 +00:00
html_baseurl = "https://docs.jointakahe.org/"