Skip to content

Commit 8a1714e

Browse files
committed
docs: enhance mkdocs config
1 parent 5fca88c commit 8a1714e

File tree

1 file changed

+41
-1
lines changed

1 file changed

+41
-1
lines changed

mkdocs.yml

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,32 @@ docs_dir: docs/
77

88
theme:
99
name: material
10+
features:
11+
- content.code.copy
12+
13+
palette:
14+
accent: black
15+
primary: red
16+
17+
- media: "(prefers-color-scheme)"
18+
toggle:
19+
icon: material/brightness-auto
20+
name: Switch to light mode
21+
22+
- media: "(prefers-color-scheme: light)"
23+
scheme: default
24+
toggle:
25+
icon: material/brightness-7
26+
name: Switch to dark mode
27+
28+
- media: "(prefers-color-scheme: dark)"
29+
scheme: slate
30+
toggle:
31+
icon: material/brightness-4
32+
name: Switch to system preference
33+
34+
plugins:
35+
- search
1036

1137
nav:
1238
- Home: README.md
@@ -23,4 +49,18 @@ nav:
2349
- Performance: performance.md
2450
- Multi-Instance Setup: multi-instance.md
2551
- Logging & Replay: logging-replay.md
26-
- Troubleshooting: troubleshooting.md
52+
- Troubleshooting: troubleshooting.md
53+
54+
markdown_extensions:
55+
- pymdownx.highlight:
56+
anchor_linenums: true
57+
line_spans: __span
58+
pygments_lang_class: true
59+
- pymdownx.inlinehilite
60+
- pymdownx.snippets
61+
- pymdownx.superfences
62+
- pymdownx.superfences:
63+
custom_fences:
64+
- name: mermaid
65+
class: mermaid
66+
format: !!python/name:pymdownx.superfences.fence_code_format

0 commit comments

Comments
 (0)