forked from Jackiexiao/foam-mkdocs-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mkdocs.yml
76 lines (75 loc) · 2.01 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
# official tutorial
# mkdocs-material: https://squidfunk.github.io/mkdocs-material/
# mkdocs: https://www.mkdocs.org/user-guide/configuration/
site_name: Longlone's Blog
site_url: https://longlone.top
site_description: Longlone's Blog about daily and security.
theme:
name: material
favicon: attachment/favicon.ico
logo: attachment/logo.svg
language: zh # 中文,解决中文搜索问题
custom_dir: overrides
features:
- header.autohide
- navigation.expand
- navigation.top
- toc.integrate
- tabs
palette:
scheme: slate
primary: deep purple
accent: indigo
font: false
markdown_extensions:
- attr_list # https://squidfunk.github.io/mkdocs-material/reference/images/
- pymdownx.tabbed # https://squidfunk.github.io/mkdocs-material/reference/content-tabs/
- nl2br # newline-to-break
- toc:
permalink: '#' # heading anchor
slugify: !!python/name:pymdownx.slugs.uslugify # 解决中文标题解析问题
- admonition
- codehilite:
guess_lang: false
linenums: false
- footnotes
- meta
- def_list
- pymdownx.arithmatex
- pymdownx.betterem:
smart_enable: underscores
- pymdownx.caret
- pymdownx.critic
- pymdownx.details
# - pymdownx.emoji:
# emoji_generator: !!python/name:pymdownx.emoji.to_png
- pymdownx.inlinehilite
- pymdownx.magiclink
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.superfences
- pymdownx.tasklist
- pymdownx.tilde
plugins:
- search
- tags
- roamlinks
#- autolinks
- exclude:
glob:
- "*.tmp"
- "*.pdf"
- "*.gz"
regex:
- '.*\.(tmp|bin|tar)$'
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/WAY29
- icon: octicons/mail-24
link: mailto:toloveu29@gmail.com
- icon: octicons/rss-24
link: https://longlone.top/rss.xml
generator: false
extra_javascript:
- '//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js'