blob: 1a672b926f71b9a494a512b970f166a141c3d394 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# 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
# from __future__ import annotations
import os
import sys
sys.path.insert(0, os.path.abspath('..'))
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = 'Rainbow Parenthesis'
copyright = '2023, Hugo Hörnquist'
author = 'Hugo Hörnquist'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
# Coverage not included, since flake8 already captures that
extensions = [
'sphinx.ext.autodoc', # Automatically extract source from pypthon files
'sphinx.ext.viewcode', # Adds source viewer to output
'sphinx.ext.todo', # Add todo-lists to output
]
# Actually enable the todo list
todo_include_todos = True
# Fancy type aliases.
# For this to work, each module has to individually run
# from __future__ import annotations
# Which will prevent type aliases from being eagerly evaluated.
autodoc_type_aliases = {
'Markup': 'muppet.data.Markup',
}
# Add type signatures in parameter list of description, instead of in
# signature. This reduces the clutter quite a bit.
autodoc_typehints = 'description'
templates_path = ['_templates']
exclude_patterns = []
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = 'pyramid'
html_static_path = ['_static']
|