-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmkdocs.yml
88 lines (82 loc) · 2.21 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
site_name: MRFI documention
repo_url: https://github.com/fffasttime/MRFI
repo_name: MRFI
nav:
- MRFI overview: index.md
- Usage:
- usage.md
- usage_easyconfig.md
- usage_finegrained.md
- usage_advanced.md
- usage_custom.md
- function_table.md
- Examples:
- basic_observe.md
- basic_faultinjection.md
- example_layerwise.md
- example_datatype.md
- example_channel_pixel.md
- example_yolov8.md
- Documents:
- mrfi.md
- experiment.md
- observer.md
- selector.md
- error_mode.md
- quantization.md
theme:
name: "material"
palette:
- scheme: default
primary: brown
toggle:
icon: material/brightness-7
name: Switch to dark mode
- scheme: slate
primary: black
toggle:
icon: material/brightness-4
name: Switch to light mode
features:
- navigation.sections
- content.code.copy
extra_css:
- assets/extra_style.css
markdown_extensions:
- admonition # 提示块
- footnotes # 脚注
- meta # 定义元数据,通过文章上下文控制,如disqus
- pymdownx.caret # 下划线上标
- pymdownx.tilde # 删除线下标
- pymdownx.critic # 增加删除修改高亮注释,可修饰行内或段落
- pymdownx.details # 提示块可折叠
- pymdownx.inlinehilite # 行内代码高亮
- pymdownx.mark # 文本高亮
- pymdownx.smartsymbols # 符号转换
- pymdownx.superfences # 代码嵌套在列表里
- codehilite: # 代码高亮,显示行号
guess_lang: false
linenums: false
- toc: # 锚点
permalink: true
- pymdownx.arithmatex # 数学公式
- pymdownx.betterem: # 对加粗和斜体更好的检测
smart_enable: all
- pymdownx.emoji: # 表情
emoji_generator: !!python/name:pymdownx.emoji.to_svg
# - pymdownx.magiclink # 自动识别超链接
- pymdownx.tasklist: # 复选框checklist
custom_checkbox: true
plugins:
- mkdocstrings:
handlers:
python:
setup_commands:
- import sys
- sys.path.insert(0, "..")
options:
heading_level: 3
members_order: "source"
merge_init_into_class: True
show_source: False
show_root_toc_entry: false