conf   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 89
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 63
dl 0
loc 89
rs 10
c 0
b 0
f 0
1
import sphinx_bootstrap_theme
2
3
html_css_files = [
4
    "https://cdn.jsdelivr.net/gh/ickc/markdown-latex-css/css/_table.min.css",
5
    "https://cdn.jsdelivr.net/gh/ickc/markdown-latex-css/fonts/fonts.min.css",
6
]
7
8
extensions = [
9
    "sphinx.ext.autodoc",
10
    "sphinx.ext.autosummary",
11
    "sphinx.ext.coverage",
12
    "sphinx.ext.doctest",
13
    "sphinx.ext.extlinks",
14
    "sphinx.ext.ifconfig",
15
    "sphinx.ext.napoleon",
16
    "sphinx.ext.todo",
17
    "sphinx.ext.viewcode",
18
    "sphinxcontrib.apidoc",
19
]
20
source_suffix = ".rst"
21
master_doc = "index"
22
project = "amsthm"
23
year = "2016-2021"
24
author = "Kolen Cheung"
25
copyright = f"{year}, {author}"
26
version = release = "2.0.0"
27
28
pygments_style = "solarized-light"
29
html_theme = "bootstrap"
30
html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()
31
html_theme_options = {
32
    "navbar_links": [
33
        (
34
            "GitHub",
35
            "https://github.com/ickc/pandoc-amsthm/",
36
            True,
37
        )
38
    ],
39
    "source_link_position": None,
40
    "bootswatch_theme": "readable",
41
    "bootstrap_version": "3",
42
}
43
44
html_use_smartypants = True
45
html_last_updated_fmt = "%b %d, %Y"
46
html_split_index = False
47
html_short_title = f"{project}-{version}"
48
49
napoleon_use_ivar = True
50
napoleon_use_rtype = False
51
napoleon_use_param = False
52
53
# math_number_all = True
54
55
mathjax_path_lut = {
56
    "jsdelivr": "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js",
57
    "unpkg": "https://www.unpkg.com/mathjax@3/es5/tex-chtml-full.js",
58
    "cloudflare": "https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.0/es5/tex-chtml-full.js",
59
    "githack": "https://rawcdn.githack.com/mathjax/MathJax/3.2.0/es5/tex-chtml-full.js",
60
    "statically": "https://cdn.statically.io/gh/mathjax/MathJax/3.2.0/es5/tex-chtml-full.js",
61
}
62
63
mathjax_path = mathjax_path_lut["jsdelivr"]
64
65
mathjax3_config = {
66
    "loader": {
67
        "load": [
68
            # "[tex]/physics",
69
            "[tex]/mathtools",
70
            "[tex]/empheq",
71
        ]
72
    },
73
    "tex": {
74
        "packages": {
75
            "[+]": [
76
                # "physics",
77
                "mathtools",
78
                "empheq",
79
            ],
80
        },
81
        "tags": "ams",
82
    },
83
}
84
85
# sphinxcontrib.apidoc
86
apidoc_module_dir = "../src/amsthm"
87
apidoc_separate_modules = True
88
apidoc_module_first = True
89