12
12
#
13
13
import os
14
14
import sys
15
- sys .path .insert (0 , os .path .abspath ('../' ))
15
+
16
+ sys .path .insert (0 , os .path .abspath ("./sphinxext" ))
17
+ sys .path .insert (0 , os .path .abspath ("../" ))
16
18
17
19
18
20
# -- Project information -----------------------------------------------------
19
21
20
- project = ' TIRA'
21
- copyright = ' 2024, Webis'
22
- author = ' Webis'
22
+ project = " TIRA"
23
+ copyright = " 2024, Webis"
24
+ author = " Webis"
23
25
24
26
25
27
# -- General configuration ---------------------------------------------------
28
30
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
29
31
# ones.
30
32
extensions = [
31
- 'sphinx.ext.autodoc' ,
32
- 'sphinx.ext.todo' ,
33
- 'sphinx.ext.doctest' ,
34
- 'sphinx.ext.viewcode' ,
35
- 'sphinx_design' ,
36
- 'sphinxcontrib.plantuml' ,
37
- 'sphinxcontrib.umlet' ,
38
- 'myst_parser' ,
33
+ "sphinx.ext.autodoc" ,
34
+ "sphinx.ext.todo" ,
35
+ "sphinx.ext.doctest" ,
36
+ "sphinx.ext.viewcode" ,
37
+ "sphinx_design" ,
38
+ "sphinxcontrib.plantuml" ,
39
+ "sphinxcontrib.umlet" ,
40
+ "myst_parser" ,
41
+ "openapi" ,
39
42
]
40
43
41
- todo_include_todos = True
42
- python_display_short_literal_types = True
43
- python_use_unqualified_type_names = True
44
- viewcode_line_numbers = True
44
+ todo_include_todos = True
45
+ python_display_short_literal_types = True
46
+ python_use_unqualified_type_names = True
47
+ viewcode_line_numbers = True
45
48
46
- doctest_global_setup = '''
49
+ doctest_global_setup = """
47
50
from tira.io_utils import *
48
- '''
51
+ """
49
52
50
53
# Add any paths that contain templates here, relative to this directory.
51
- templates_path = [' _templates' ]
54
+ templates_path = [" _templates" ]
52
55
53
56
# List of patterns, relative to source directory, that match files and
54
57
# directories to ignore when looking for source files.
55
58
# This pattern also affects html_static_path and html_extra_path.
56
- exclude_patterns = [' _build' , ' Thumbs.db' , ' .DS_Store' ]
59
+ exclude_patterns = [" _build" , " Thumbs.db" , " .DS_Store" ]
57
60
58
61
59
62
# -- Options for HTML output -------------------------------------------------
60
63
61
64
# The theme to use for HTML and HTML Help pages. See the documentation for
62
65
# a list of builtin themes.
63
66
#
64
- html_theme = ' furo'
65
- html_title = ' TIRA'
66
- language = 'en'
67
+ html_theme = " furo"
68
+ html_title = " TIRA"
69
+ language = "en"
67
70
68
71
html_logo = "https://assets.tira.io/tira-icons/tira-logo.svg"
69
72
html_theme_options : Dict [str , Any ] = {
87
90
}
88
91
89
92
90
- plantuml_output_format = ' svg_img'
93
+ plantuml_output_format = " svg_img"
91
94
92
95
umlet_binary_path = "/usr/share/umlet/Umlet/umlet.sh"
93
96
94
97
# Add any paths that contain custom static files (such as style sheets) here,
95
98
# relative to this directory. They are copied after the builtin static files,
96
99
# so a file named "default.css" will overwrite the builtin "default.css".
97
- html_static_path = [' _static' ]
100
+ html_static_path = [" _static" ]
98
101
99
102
html_css_files = [
100
- ' custom.css' ,
101
- ]
103
+ " custom.css" ,
104
+ ]
0 commit comments