-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
148 lines (134 loc) · 3.14 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
137
138
139
140
141
142
143
144
145
146
147
148
site_name: Code Snippets
# Repository
repo_name: huanglii/code-snippets
repo_url: https://github.com/huanglii/code-snippets
edit_uri: edit/main/docs/
# Copyright
copyright: Copyright © 2025 huangli
theme:
name: material
language: zh
logo: assets/logo.png
favicon: assets/favicon.svg
custom_dir: overrides
icon:
repo: fontawesome/brands/git-alt
# tag:
# html: fontawesome/brands/html5
# js: fontawesome/brands/js
# css: fontawesome/brands/css3
# default: fontawesome/brands/git-alt
palette:
# Palette toggle for light mode
- scheme: default
primary: teal
accent: teal
toggle:
icon: material/brightness-7
name: 深色
# Palette toggle for dark mode
- scheme: slate
primary: teal
accent: teal
toggle:
icon: material/brightness-4
name: 浅色
font:
text: Noto Sans SC
code: Fira Code
features:
- content.action.edit
# - content.action.view
- content.code.copy
- content.code.annotate
# - content.code.select
- content.tooltips
- navigation.instant
- navigation.tracking
- navigation.sections
# - navigation.tabs
# - navigation.tabs.sticky
- navigation.path
# - navigation.prune
# - navigation.expand
- navigation.indexes
- navigation.top
- navigation.footer
- search.highlight
- search.share
- search.suggest
- toc.follow
# - toc.integrate
plugins:
- glightbox
- search
- tags
extra_css:
- stylesheets/extra.css
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
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/huanglii
# generator: false
tags:
CSS: css
HTML: html
JavaScript: js
# Extensions
markdown_extensions:
- abbr
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- toc:
permalink: true
- tables
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem
- pymdownx.caret
- pymdownx.mark
- pymdownx.tilde
- pymdownx.critic:
mode: view
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight:
linenums: true
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.magiclink:
repo_url_shorthand: true
user: squidfunk
repo: mkdocs-material
- 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
# Page tree
# nav:
# - 第 1 章 Python:
# - python/index.md
# - 1.1 GeoPandas: python/geopandas.md
# - 第 2 章 SQL:
# - sql/index.md
# - 2.1 Ganos:
# - sql/ganos/index.md
# - sql/ganos/ST_AsImage.md