-
Notifications
You must be signed in to change notification settings - Fork 8
/
mkdocs.yml
147 lines (130 loc) · 4.25 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
site_name: pure_ocean_breeze documentation
site_url: https://chen-001.github.io/pure_ocean_breeze/
repo_url: https://github.com/chen-001/pure_ocean_breeze
site_description: 关于量价因子的一片星空
site_author: chenzongwei
nav:
- 星空: index.md
- 罗盘:
- 初始化:
- initialize: 罗盘/初始化/initialize.md
- 配置&参数:
- state: 罗盘/配置&参数/state.md
- homeplace: 罗盘/配置&参数/homeplace.md
- 数据:
- database: 罗盘/数据/database.md
- dicts: 罗盘/数据/dicts.md
- read_data: 罗盘/数据/read_data.md
- write_data: 罗盘/数据/write_data.md
- tools: 罗盘/数据/tools.md
- 加工&测试&评价:
- process: 罗盘/加工&测试&评价/process.md
- comment: 罗盘/加工&测试&评价/comment.md
- 通讯:
- mail: 罗盘/通讯/mail.md
- 火把:
- 项目: 火把/project.md
- 构想&未来: 火把/futures.md
- 分享: 火把/shares.md
- 作者: 火把/author.md
# theme:
# name: material
# language: 'zh'
# # locale: zh_CN
# analytics: {gtag: 'G-274394082'}
# markdown_extensions:
# - pymdownx.arithmatex:
# generic: true
extra_javascript:
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
- https://cdn.jsdelivr.net/gh/TRHX/[email protected]/js/maodian.js
- js/baidu.js
- https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_CHTML
# extra:
# search:
# language: 'jp'
plugins:
- autorefs
- mkdocstrings:
handlers:
python:
setup_commands:
- import sys
- sys.path.append("docs")
selection:
new_path_syntax: yes
watch:
- docs/src/mkdocstrings
- search:
lang:
- en
- ja
separator: '[\s\-\.]+'
extra_css:
- css/mkdocstrings.css
theme:
name: material
# custom_dir: overrides
logo: pics/一身本事.png
palette:
- scheme: default # 日间模式
primary: indigo # 上方的
accent: red # 链接等可交互元件的高亮色
toggle:
icon: material/weather-night # 图标
name: 切换至夜间模式 # 鼠标悬浮提示
- scheme: slate # 夜间模式
primary: teal
accent: red
toggle:
icon: material/weather-sunny
name: 切换至日间模式
features:
- content.code.annotate # 代码块内的注释
- navigation.tabs # 使用Tab来进行分类
- navigation.top # 返回顶部的按钮 在上滑时出现
- navigation.indexes # Tab会有一个index.md 而不是在打开Tab时打开第一篇文章
- navigation.expand # 打开Tab时左侧目录全部展开
- search.suggest # 搜索输入一些字母时推荐补全整个单词
- search.highlight # 搜索出的文章关键词加入高亮
language: zh # 一些提示性的文字会变成中文
# icon:
# repo: fontawesome/brands/github
edit_uri: "" # 编辑按钮跳转的链接
copyright: Copyright © 2022 chenzongwei # 左下角的版权声明
extra:
analytics:
provider: google
property: G-8R9VRSN3S0
social: # icons
- icon: fontawesome/brands/github
link: https://github.com/chen-001/pure_ocean_breeze
name: GitHub项目主页
- icon: fontawesome/brands/python
link: https://pypi.org/project/pure-ocean-breeze/
name: Pypi项目主页
search:
language: 'jp'
markdown_extensions:
- md_in_html
- attr_list # 给图片后面添加{width="300"}设置大小
- pymdownx.arithmatex: # latex支持
generic: true
- footnotes
- toc:
permalink: true # 固定标题位置为当前位置
toc_depth: 3
- pymdownx.highlight: # 代码块高亮
linenums: true # 显示行号
auto_title: true # 显示编程语言名称
- admonition
- pymdownx.details
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
# format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
- meta # 支持Markdown文件上方自定义标题标签等