senju/docs/source/conf.py
Joscha Dierks b9c4091299 feat/OPS-61: added auto documentation for haiku.py, main.py and store_manager.py
At the moment it works by converting senju into a python package. This causes the html docu to start with a link 'senju package' which lists all three moduls and their documentation. I will try now to make it so all three moduls have a docu link of their own.

The method foobar in each modul is for testing purposes and should be deleted once full functionality is confirmed.
2025-03-15 19:40:35 +01:00

36 lines
No EOL
1.3 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
import os
import sys
from pathlib import Path
sys.path.insert(0, os.path.abspath("../../senju"))
senju_path = os.path.abspath("../../")
print("FFFFFFFFFFFFFFFFFFFFFFFFFF", senju_path, sys.path)
project = 'senju'
copyright = '2025, senju hashirama'
author = 'senju hashirama'
release = 'before the light'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.napoleon']
templates_path = ['_templates']
exclude_patterns = []
autodoc_typehints = 'both'
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = 'nature'
html_static_path = ['_static']
html_favicon = '_static/kanji.png'
html_logo = '_static/kanji.png'