-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
78 lines (73 loc) · 1.74 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
site_name: Openclass Docs
repo_url: https://github.com/Lezurex/openclass
theme:
name: material
features:
- content.code.annotate
# - navigation.instant
- navigation.tracking
# - navigation.tabs
- navigation.sections
- navigation.expand
- navigation.indexes
- navigation.top
- search.highlight
- search.suggest
- search.share
palette:
- scheme: slate
media: "(prefers-color-scheme: dark)"
toggle:
icon: material/weather-night
name: Switch to light mode
- scheme: default
media: "(prefers-color-scheme: light)"
toggle:
icon: material/weather-sunny
name: Switch to dark mode
plugins:
- search
- mermaid2:
arguments:
theme: |
^(JSON.parse(__md_get("__palette").index == 1)) ? 'light' : 'dark'
extra_javascript:
- https://unpkg.com/mermaid/dist/mermaid.min.js
- mermaid.js
markdown_extensions:
# Python Markdown
- abbr
- admonition
- attr_list
- def_list
- footnotes
- meta
- md_in_html
- toc:
permalink: true
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.highlight
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:mermaid2.fence_mermaid
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
- pymdownx.snippets:
base_path: ["./docs"]