sandpypi/docs/conf.py

37 lines
811 B
Python

"""Sphinx configuration file."""
import os
import sys
sys.path.insert(0, os.path.abspath(".."))
# Configuration file for Sphinx documentation builder.
PROJECT = "sandpypi"
PROJECT_NAME = "Sandpypi"
COPYRIGHT = "2024, stan44"
AUTHOR = "stan44"
VERSION = "0.1.0"
RELEASE = "0.1.0"
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.napoleon",
"sphinx.ext.viewcode",
"sphinx.ext.githubpages",
"sphinx_rtd_theme",
"sphinx_rtd_dark_mode",
]
templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
DEFAULT_DARK_MODE = True
HTML_THEME = "sphinx_rtd_theme"
html_static_path = ["_static"]
html_css_files = ["custom.css"]
# html_logo = "_static/logo.png" # No logo to use.
SYNTAX_HIGHLIGHTING = True
PYGMENTS_STYLE = "monokai"
PYGMENTS_DARK_STYLE = "monokai"