File: conf.py

package info (click to toggle)
pyee 13.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 296 kB
  • sloc: python: 1,113; makefile: 4; sh: 1
file content (22 lines) | stat: -rw-r--r-- 641 bytes parent folder | download | duplicates (2)
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"