-
Notifications
You must be signed in to change notification settings - Fork 4
/
mkdocs.yml
134 lines (122 loc) · 3.5 KB
/
mkdocs.yml
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
site_name: Model Diagnostics
site_description: Tools for diagnostics and assessment of (machine learning) models
site_author: Christian Lorentzen
site_url: https://lorentzenchr.github.io/model-diagnostics
repo_name: lorentzenchr/model-diagnostics
repo_url: https://github.com/lorentzenchr/model-diagnostics
edit_uri: blob/master/docs
copyright: 'Copyright © Christian Lorentzen 2022-present'
theme:
name: material
palette:
# Palette toggle for automatic dark/light mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to light mode
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to system preference
features:
- content.code.copy
- navigation.sections
- navigation.expand
- navigation.tabs
- navigation.tabs.sticky
- navigation.instant
- search.highlight
nav:
- Home:
- About: index.md
- Examples:
- Regression on Workers' Compensation: examples/regression_on_workers_compensation.ipynb
- Quantile Regression: examples/quantile_regression.ipynb
- Classification: examples/classification.ipynb
- API Reference: reference/ # defer to gen-files + literate-nav
- Development: development.md
- Release Notes: https://github.com/lorentzenchr/model-diagnostics/releases
watch:
- src/model_diagnostics/
plugins:
# Built-in
- search:
# Extra
- gen-files:
scripts:
- docs/gen_ref_pages.py
- literate-nav:
nav_file: SUMMARY.md
- section-index
- mkdocstrings:
default_handler: python
handlers:
python:
paths:
- src
options:
docstring_style: "numpy"
filters:
- "!^_[^_]" # this is the default
- "!^test"
inherited_members: true
show_submodules: false # this is the default
# Headings
show_root_heading: true
show_root_full_path: false
# Docstrings
# show_if_no_docstring: true
# Signatures/annotations
show_signature_annotations: false # type annotations
# Other
show_bases: false
show_source: true
- mkdocs-jupyter:
include_requirejs: true # needed for plotly
markdown_extensions:
# Python Markdown
- abbr
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- toc:
permalink: true
toc_depth: 3 # default = 3
# Python Markdown Extensions
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
use_pygments: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
extra_javascript:
- javascripts/mathjax.js
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js