-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
103 lines (97 loc) · 2.3 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
site_name: MkLorum
site_description: This is a trial test of mkdocs
site_url: null
repo_name: wickes1/my-first-mkdocs
repo_url: https://github.com/wickes1/my-first-mkdocs
edit_uri: ""
theme:
name: material
favicon: img/favicon.ico
features:
- search.suggest
- search.highlight
- content.tabs.link
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: teal
accent: amber
toggle:
icon: material/weather-sunny
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: teal
accent: amber
toggle:
icon: material/weather-night
name: Switch to light mode
nav:
- Home: index.md
- About: about.md
- Mermaid: mermaid.md
- Markdown Tutorial:
- tutorial/00.md
- tutorial/01.md
- tutorial/02.md
- tutorial/03.md
- tutorial/04.md
- tutorial/05.md
- tutorial/06.md
- tutorial/07.md
- tutorial/08.md
- tutorial/09.md
- tutorial/10.md
- tutorial/11.md
- tutorial/12.md
markdown_extensions:
- footnotes
# https://facelessuser.github.io/pymdown-extensions/extensions/superfences/
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:mermaid2.fence_mermaid
- pymdownx.tabbed
plugins:
- search:
lang: en
indexing: "full"
prebuild_index: true
- mermaid2:
arguments:
# test if its __palette_1 (dark) or __palette_2 (light)
theme: |
^(JSON.parse(window.localStorage.getItem('/.__palette')).index == 1) ? 'dark' : 'light'
extra_javascript:
- https://unpkg.com/mermaid/dist/mermaid.min.js
- extra/refresh_on_toggle_dark_light.js
extra:
social:
- icon: fontawesome/brands/github-alt
link: https://github.com/wickes1/my-first-mkdocs
# version:
# provider: mike
# theme:
# name: mkdocs
# # nav_style: dark
# # nav_style: light
# navigation_depth: 2
# # locale: en
# shortcuts:
# help: 191 # ?
# next: 78 # n
# previous: 80 # p
# search: 83 # s
# highlightjs: true
# hljs_languages:
# - yaml
# - rust
# theme:
# name: readthedocs
# highlightjs: true
# analytics:
# gtag: null
# hljs_languages:
# - yaml
# - rust