-
Notifications
You must be signed in to change notification settings - Fork 4
/
mkdocs.yml
136 lines (126 loc) · 3.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
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
site_dir: "site"
site_url: https://weiyan.cc/
site_name: 维燕的知识花园
site_description: '记录 Bio+IT 相关知识,沉淀生活,记录点滴。'
# Docs
docs_dir: "docs"
# Repository
repo_name: Knowledge-Garden
repo_url: https://github.com/shenweiyan/Knowledge-Garden/
edit_uri: edit/main/docs/
site_author: Steven Shum
# Copyright
copyright: 版权所有
theme:
name: material
language: zh
custom_dir: overrides
favicon: assets/logo.ico
logo: assets/octocat.png
font:
text: "Microsoft Yahei"
code: "Consolas,Courier,courier new,stkaiti,kaiti,simkai,monospace"
features:
- navigation.instant
- navigation.tracking
- navigation.tabs
- navigation.indexes
- navigation.top
- navigation.sections
- navigation.path
- content.action.edit
- content.action.view
- content.code.copy
- navigation.footer
palette:
- scheme: default
primary: grey
accent: indigo
toggle:
icon: material/theme-light-dark
name: Switch to dark mode
- scheme: slate
primary: grey
accent: indigo
toggle:
icon: material/theme-light-dark
name: Switch to light mode
markdown_extensions:
- admonition
- pymdownx.details
- md_in_html
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
- smarty
- toc:
permalink: True
separator: "-"
toc_depth: 5
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- pymdownx.highlight
- pymdownx.arithmatex:
generic: true
plugins:
- rss:
enabled: True
image: https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Feed-icon.svg/128px-Feed-icon.svg.png
pretty_print: True
length: 1000
date_from_meta:
as_creation: "date"
as_update: "date"
abstract_chars_count: -1
match_path: "(blog/posts|flinks|message|note|readme|tech|topic|yuque)/.*"
- glightbox:
auto_caption: false
caption_position: bottom
- search:
lang:
- en
- zh
- git-revision-date-localized:
type: iso_date
timezone: Asia/Shanghai
fallback_to_build_date: true
exclude:
- blog/archive/*
- blog/category/*
- awesome-pages:
order: desc
sort_type: natural
order_by: filename
- blog:
blog_dir: blog
post_dir: "{blog}/posts"
archive: true
categories: true
pagination: true
pagination_per_page: 10
post_url_date_format: ""
pagination_if_single_page: true
hooks:
- hooks.py
- meta_slugs.py
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/shenweiyan
name: GitHub
- icon: fontawesome/brands/twitter
link: https://twitter.com/weiyanshum
name: Twitter
- icon: fontawesome/brands/mastodon
link: https://genomic.social/@weiyanshum
name: Mastodon
analytics:
provider: custom
property: foobar
extra_css:
- css/extra.css
extra_javascript:
- js/mathjax.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.bootcss.com/mathjax/3.0.5/es5/tex-mml-chtml.js