1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
# Configuration file for the Sphinx documentation builder.
# pyee uses mkdocs for its primary documentation. However, it uses sphinx to
# generate a man page.
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
import toml
with open("../pyproject.toml", "r") as f:
pyproject_toml = toml.load(f)
project = "pyee"
copyright = "2023, Josh Holbrook"
author = "Josh Holbrook"
release = f'v{pyproject_toml["project"]["version"]}'
templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "index.md"]
root_doc = "man"
|