This repository has been archived by the owner on Sep 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
mkdocs.yml
126 lines (121 loc) · 3.45 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
site_name: CSL 中文文档
site_description: Citations Style Language 中文文档
site_url: https://csl-cn.github.io/csl-chinese
repo_name: csl-doc-chinese
repo_url: https://github.com/zotero-cn/csl-doc-chinese
theme:
name: 'material'
# favicon: assets/logo/favicons.png
# logo: assets/logo/favicons.png
icon:
repo: fontawesome/brands/github
# custom_dir: overrides
font:
text: Karla
code: Ubuntu Mono
language: zh
palette:
# Light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/toggle-switch
name: Switch to dark mode
# Dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: indigo
accent: indigo
toggle:
icon: material/toggle-switch-off-outline
name: Switch to light mode
features:
- navigation.indexes
- navigation.top
# - navigation.tabs
# - navigation.tabs.sticky
# - navigation.sections
# - navigation.instant
# - navigation.expand
# - toc.integrate
# Extensions
markdown_extensions:
- footnotes
- nl2br
- attr_list
- sane_lists
- def_list
- meta
- smarty
- tables
- mdx_breakless_lists
- admonition
- toc:
permalink: true
slugify: !!python/name:pymdownx.slugs.uslugify # 解决中文标题解析问题
- pymdownx.arithmatex:
generic: true
- pymdownx.details
- pymdownx.magiclink
- pymdownx.critic
- pymdownx.caret
- pymdownx.keys
- pymdownx.mark
- pymdownx.tilde
- pymdownx.highlight:
use_pygments: true
anchor_linenums: true
linenums: true
linenums_style: pymdownx-inline
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.emoji:
emoji_generator: !!python/name:pymdownx.emoji.to_svg
- pymdownx.snippets
- pymdownx.superfences:
custom_fences:
- name: dataview
class: dataview
format: !!python/name:pymdownx.superfences.fence_div_format
- name: mermaid
class: mermaid
format: !!python/name:mermaid2.fence_mermaid
plugins:
- search
- ezlinks: # https://github.com/orbikm/mkdocs-ezlinks-plugin
wikilinks: true
# - mermaid2
- awesome-pages:
# collapse_single_pages: true
- git-revision-date-localized: # https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/options/
type: iso_datetime
# enable_creation_date: true
locale: zh
timezone: Asia/Shanghai
# enabled: false
- callouts
extra_javascript:
# - assets/js/utils.js
- assets/js/custom.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
# - assets/js/tooltipster.bundle.js
extra_css:
- https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css
# - assets/css/template/blog.css
# # - assets/css/template/grid.css
# # - assets/css/template/img-grids-float.css
# # - assets/css/template/tooltipster.bundle.min.css
# - assets/css/template/utils.css
# # - assets/css/admonition.css
# - assets/css/custom_attributes.css
# - assets/css/customization.css
extra:
social:
- icon: fontawesome/regular/user
link: https://github.com/ZMAlt/CSL-Chinese
- icon: fontawesome/brands/github
link: https://github.com/zotero-cn/csl-doc-chinese
copyright: Copyright © 2022 Zotero CN