mirror of
https://github.com/ndrscalia/asciify-them.git
synced 2026-02-19 23:24:03 -05:00
42 lines
1.2 KiB
Python
42 lines
1.2 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
|
|
|
|
# -- Project information -----------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
|
|
|
project = 'asciify'
|
|
author = 'Andrea Scalia'
|
|
|
|
from datetime import datetime
|
|
|
|
year = datetime.now().year
|
|
if year > 2026:
|
|
copyright = f"2026-{year}, {author}"
|
|
else:
|
|
copyright = f"2026, {author}"
|
|
|
|
import sys
|
|
|
|
sys.path.append("../src")
|
|
import asciify
|
|
|
|
release = asciify.__version__
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
|
|
extensions = ["sphinx.ext.autodoc", "myst_parser"]
|
|
|
|
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
|
|
|
|
html_theme = 'pydata_sphinx_theme'
|
|
html_static_path = ['_static']
|