-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
92 lines (79 loc) · 2.08 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
site_name: Mojo Utils
##############################################################
#
# todo x: docs 目录
#
nav:
- 首页:
- 首页: index.md
- Mojo: mojo/index.md
- Rust: rust/index.md
- 工具: tools/index.md
- Mojo:
- mojo/index.md
- Rust:
- rust/index.md
- rust/libs.md
- rust/ffi.md
- 工具:
- tools/index.md
##############################################################
markdown_extensions:
- abbr
- admonition
- pymdownx.details
- attr_list
- md_in_html
- pymdownx.blocks.caption
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
theme:
name: material
language: zh
features:
- header.autohide
- navigation.tabs # TODO X: 导航栏
- navigation.instant
- navigation.path
- navigation.top
- navigation.instant.preview
- navigation.instant.prefetch
- navigation.instant.progress
- navigation.footer
- navigation.expand # todo x: 文档目录展开
- toc.follow
palette:
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: teal # todo x: 颜色
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: teal # todo x: 颜色, deep purple, teal, deep orange
toggle:
icon: material/brightness-4
name: Switch to light mode
plugins:
- search
extra:
alternate: # todo x: 多语言, https://squidfunk.github.io/mkdocs-material/setup/changing-the-language/#site-language-selector
- name: English
link: /en/
lang: en
social:
- icon: fontawesome/brands/github
link: https://github.com/better-mojo
- icon: fontawesome/brands/telegram
link: https://t.me/better_mojo
copyright: Copyright © 2025 - 2025 BetterMojo. All rights reserved.