forked from RManLuo/gfm-rag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
156 lines (150 loc) · 5.79 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
theme:
icon:
logo: material/home
name: material
palette:
- media: "(prefers-color-scheme)"
scheme: default
toggle:
icon: material/brightness-4
name: "Switch to light mode"
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-5
name: "Switch to dark mode"
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-auto
name: "Switch to system preference"
features:
- navigation.instant # 现在页面不会跳转,而是类似单页应用,搜索和各种跳转都是在当前页面完成,对美观有很大帮助
- navigation.tabs # 页面上方的标签页
- navigation.tracking # 页面滚动时,导航栏高亮当前页面
- navigation.sections # 使导航栏分块
- navigation.expand # 默认展开导航
- navigation.prune # 只渲染当前页面的导航
- navigation.path # 显示当前页面的路径
- navigation.tabs.sticky # 标签页固定在顶部
- toc.follow # 滚动的时候侧边栏自动跟随
- navigation.top # 返回顶部按钮
- search.suggest # 补全建议
- search.highlight # 搜索结果高亮
- search.share # 搜索结果分享
- navigation.footer # 页脚提示下一章
- content.code.copy # 代码段上的赋值按钮
markdown_extensions:
- admonition # 警告语法
- def_list
- footnotes
- abbr
- pymdownx.caret
- pymdownx.mark
- pymdownx.tilde
- md_in_html
- pymdownx.arithmatex: # latex支持
generic: true
- toc:
permalink: true # 固定标题位置为当前位置
toc_depth: 3 # 目录深度
- pymdownx.highlight: # 代码块高亮
anchor_linenums: true
linenums: true # 显示行号
use_pygments: true # 代码高亮
pygments_lang_class: true
auto_title: true # 显示编程语言名称
linenums_style: pymdownx-inline # 行号样式,防止复制的时候复制行号
- pymdownx.betterem # 强调美化,比如**text**会被美化
- pymdownx.caret # 上标和下标
- pymdownx.mark # 上标和下标
- pymdownx.tilde # 上标和下标
- pymdownx.keys # 显示按键组合
- pymdownx.critic
- pymdownx.details # 可以折叠的代码块 ??? note 可以让警告变成折叠的
- pymdownx.inlinehilite
- pymdownx.superfences
- pymdownx.magiclink # 自动识别链接
- pymdownx.smartsymbols # 智能符号
- pymdownx.snippets # 代码段
- pymdownx.tasklist:
custom_checkbox: true # 自定义复选框
- attr_list
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.superfences: # 代码块中支持Mermaid
custom_fences: # 支持 Mermaid
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
combine_header_slug: true
- pymdownx.tasklist:
custom_checkbox: true
clickable_checkbox: true
- meta # 支持Markdown文件上方自定义标题标签等
- tables
extra_javascript:
- javascripts/mathjax.js
- https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js
# 下面的是需要自定义的内容,请不要修改上方的内容,上面都是在开启各种插件和功能
site_name: GFM-RAG
site_url: https://rmanluo.github.io/gfm-rag/
nav:
- Home:
- Wellcome: index.md
- Development: DEVELOPING.md
- Changelog: CHANGELOG.md
- Installation: install.md
- Workflow:
- Data Preparation: workflow/data_preparation.md
- KG-index Construction: workflow/kg_index.md
- GFM-RAG Retrieval: workflow/inference.md
- GFM-RAG Training: workflow/training.md
- Path Interpretation: workflow/path_interpretation.md
- Config:
- KG-index Config: config/kg_index_config.md
- GFM-RAG Config: config/gfmrag_retriever_config.md
- GFM-RAG Pre-training Config: config/gfmrag_pretrain_config.md
- GFM-RAG Fine-tuning Config: config/gfmrag_finetune_config.md
- NER Model Config: config/ner_model_config.md
- Entity Linking Model Config: config/el_model_config.md
- OpenIE Model Config: config/openie_model_config.md
- Document Ranker Config: config/doc_ranker_config.md
- Text Embedding Config: config/text_embedding_config.md
- API Reference:
- KG-index Constructor: api/kg_indexer.md
- GFM Retriever: api/gfmrag_retriever.md
- GNN Models: api/models.md
- Document Ranker: api/doc_ranker.md
- Datasets: api/datasets.md
- Large Language Models: api/llms.md
- Text Embedding Models: api/text_emb_models.md
- Loss Functions: api/losses.md
- Prompt Builder: api/prompt_builder.md
- Evaluator: api/evaluator.md
- KG Construnction:
- KG Constructor: api/kg_construnction/kg_constructor.md
- QA Constructor: api/kg_construnction/qa_constructor.md
- NER Model: api/kg_construnction/ner_model.md
- Entity Linking Model: api/kg_construnction/el_model.md
- OpenIE Model: api/kg_construnction/openie_model.md
repo_url: https://github.com/RManLuo/gfm-rag.git
repo_name: gfm-rag
plugins:
- search # 内置插件,在标题中添加了一个搜索栏,允许用户搜索您的文档
- autorefs
- same-dir
- mkdocstrings:
handlers:
python:
options:
show_root_heading: true
show_symbol_type_heading: true
show_source: true
show_root_toc_entry: false
import:
- url: https://docs.python.org/3/objects.inv
domains: [std, py]