-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmkdocs.yml
127 lines (122 loc) · 3.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
site_name: "少数派创作手册"
site_author: "少数派编辑部"
site_description: "少数派创作手册"
copyright: "版权所有 © 2023 少数派 SSPAI"
# testing site
# site_url: "https://manpi.netlify.app/"
# pending subdomain
site_url: "https://manual.sspai.com"
extra:
# Version number to be referenced dynamically
version: "0.3.0 (build 23061700)"
generator: false
nav:
- "欢迎": index.md
- "创作指南":
- "动笔之前": guide/idea.md
- "开始创作": guide/init.md
- "文章编辑": guide/edit.md
- "提交流程": guide/proc.md
- "作者权益": guide/good.md
- "规则规范":
- "审阅标准": rules/review.md
- "特别规则": rules/special.md
- "风格指南": rules/style.md
- "作者协议": rules/agreement.md
- "关于":
- "联系我们": about/contact.md
- "许可信息": about/license.md
- "更新日志": about/changelog.md
theme:
name: "material"
custom_dir: overrides
language: zh
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: red
accent: red
toggle:
icon: material/brightness-7
name: "切换到深色主题"
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: red
accent: red
toggle:
icon: material/brightness-4
name: "切换到浅色主题"
favicon: assets/favicon.ico
logo: "assets/sspai-man.svg"
features:
- content.code.annotate
- navigation.indexes
- navigation.sections
- navigation.tabs
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
- toc.integrate
extra_css:
- stylesheets/extra.css
# Stylesheets for PDF export
- stylesheets/print.css
plugins:
- search:
separator: '[\s\u200b\-]'
# - enumerate-headings
- print-site:
# See docs at https://timvink.github.io/mkdocs-print-site-plugin/
enumerate_headings: false
#enumerate_headings_depth: 3
add_cover_page: true
enumerate_figures: false
cover_page_template: "docs/assets/templates/cover.tpl"
print_page_title: "可打印版本"
toc_title: "目录"
add_print_site_banner: true
print_site_banner_template: "docs/assets/templates/banner.tpl"
markdown_extensions:
- abbr
- admonition
- attr_list
- def_list
- footnotes
- meta
- md_in_html
- toc:
permalink: true
- pymdownx.arithmatex:
generic: true
#- pymdownx.betterem:
# smart_enable: all
- pymdownx.caret
- pymdownx.details
- pymdownx.emoji:
emoji_generator: !!python/name:materialx.emoji.to_svg
emoji_index: !!python/name:materialx.emoji.twemoji
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.magiclink:
repo_url_shorthand: true
user: squidfunk
repo: mkdocs-material
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
- pymdownx.keys
- pymdownx.smartsymbols