Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
conf.py 1.54 KiB
# 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 = 'Model Order Reduction for Stokes Flow in Microstructures'
copyright = '2025, Jan Habscheid'
author = 'Jan Habscheid'
release = '1.0'

# Add src folder to path
import os
import sys
sys.path.insert(0, os.path.abspath(os.path.join("..", "../src")))
sys.path.insert(0, os.path.abspath('../gismo'))
sys.path.insert(0, os.path.abspath('../miscellaneous'))
sys.path.insert(0, os.path.abspath('../models'))
sys.path.insert(0, os.path.abspath('../'))


# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = [
    'sphinx.ext.napoleon',
    'sphinx.ext.autodoc', 
    'myst_parser',
    'sphinx_copybutton',
    'sphinx.ext.coverage',
    'sphinx.ext.autosectionlabel',
]

templates_path = ['_templates']
exclude_patterns = []

source_suffix = {
    '.rst': 'restructuredtext',
    '.txt': 'markdown',
    '.md': 'markdown',
}


# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

# html_theme = 'alabaster'
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']