# 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 import django sys.path.insert(0, os.path.abspath('../../transport_accessibility')) os.environ['DJANGO_SETTINGS_MODULE'] = 'transport_accessibility.settings' django.setup() project = 'Transport Accessibility' copyright = '2024, Jan Kiljanski and Johannes Randerath' author = 'Jan Kiljanski and Johannes Randerath' release = '0.2' # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.napoleon', 'sphinx.ext.autosummary', ] templates_path = ['_templates'] exclude_patterns = ['**/migrations/*', 'manage.py', 'settings.py', 'admin.py', ] # -- 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'] autosummary_generate = True