-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
113 lines (85 loc) · 2.31 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
# https://squidfunk.github.io/mkdocs-material/setup/
site_name: 𝓛𝓳𝔁'𝓟𝓪𝓰𝓮
site_url: https://ljxpage.github.io
repo_url: https://github.com/TyrannosaurusLjx/TyrannosaurusLjx.github.io
repo_name: "TyrannosaurusLjx's repo"
site_description: "Ljx's personal page"
site_author: "Ljx"
# nav:
# - Home: index.md
# - Blog: blog/index.md
theme:
name: material
palette:
scheme: slate
primary: black # 导航栏颜色
accent: blue
logo: assets/image/Chivalrous.jpg
favicon: assets/image/Chivalrous.ico
features:
# - navigation.instant
- navigation.instant.prefetch
- navigation.tabs # 导航栏大目录
- navigation.prune # 侧边栏折叠
- toc.follow
- toc.integrate # 右边目录
- navigation.top
- search.suggest
- search.highlight
- search.share
- header.autohide
- navigation.tracking
- navigation.indexes # 目录导航到 readme
- navigation.path
plugins:
# - exclude:
# glob:
# - ./docs/assets/*
- search:
lang:
- en
- zh
# - blog
# - rss:
# match_path: blog/posts/*.md
# date_from_meta:
# as_creation: date
# categories:
# - categories
# - tags
markdown_extensions:
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem
- pymdownx.caret
- pymdownx.mark
- pymdownx.tilde
- pymdownx.critic
- pymdownx.details
- pymdownx.highlight:
anchor_linenums: true
# linenums: true
# auto_title: true
line_spans: __span
- pymdownx.superfences
- pymdownx.highlight
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
- toc:
permalink: true
title: On this page
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
extra_javascript:
- javascripts/mathjax.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
# - javascripts/katex.js
# - https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.js
# - https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/contrib/auto-render.min.js
# extra_css:
# - https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.css