-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
232 lines (212 loc) · 6.26 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
# My web site settings
# site basic info
site_name: Min Xu's web site
site_url: https://minxu74.github.io
site_author: Min Xu
site_description: >-
Host my bio, projects, and blogs
# repository
repo_name: minxu74/minxu74.github.io
repo_url: https://github.com/minxu74/minxu74.github.io
# Copyright
copyright: Copyright © 2024 Min Xu
# mkdocs conf
theme:
name: material
custom_dir: overrides
features:
- announce.dismiss
- toc.follow
#- toc.integrate # not compatible with indexes
- navigation.footer
#- navigation.tabs
- navigation.top
#- navigation.path #inside
- navigation.instant
#- navigation.sections
- navigation.expand
- navigation.prune
- navigation.indexes
- search.highlight
- search.share
- search.suggest
- content.tooltip
- content.code.copy # button to copy code
- content.code.annotate # allow code annotation
- content.action.view
#- content.action.edit
font:
text: Open Sans #Oswald #Open Sans #Raleway
code: Roboto Mono
#favicon: assets/image/favicon.png
favicon: assets/image/favicon.png
icon:
repo: fontawesome/brands/github-alt
logo: fontawesome/solid/globe
annotation: material/alpha-b-circle
#logo: assets/image/logo.png
# Palette toggle for light mode
palette:
- scheme: default
toggle:
icon: material/desk-lamp-off
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate
toggle:
icon: material/desk-lamp-on
name: Switch to light mode
# extra conf
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/minxu74
- icon: fontawesome/brands/linkedin
link: https://linkedin.com/in/minxu74
analytics:
provider: google
property: G-S2E4FP4ER0
# extensions
markdown_extensions:
- meta
- admonition # callouts/annotations
- pymdownx.emoji:
emoji_generator: !!python/name:material.extensions.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
- toc:
permalink: true
- md_in_html
- attr_list
- def_list
- pymdownx.details # add collapsible call-outs
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true # enable content tab
- pymdownx.caret # define superscript
- pymdownx.mark # highlight text
- pymdownx.tilde # define subscript
- pymdownx.critic # track changes
- footnotes
- customblocks # create a block
- pymdownx.highlight: # highlight of code blocks
linenums_style: pymdownx-inline
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite # highlight inline code blocks
- pymdownx.arithmatex:
generic: true
# plugins
plugins:
- search
- git-revision-date-localized:
enable_creation_date: true
fallback_to_build_date: true
type: iso_date
timezone: America/New_York
locale: en
exclude:
- index.md
- blog/*
- jupyternb/*.ipynb
enabled: true
strict: false
- git-committers:
repository: minxu74/minxu74.github.io
branch: master
- bibtex:
bib_file: "docs/assets/bib/MXPUB.bib"
csl_file: "docs/assets/csl/american-geophysical-union.csl"
cite_inline: False
- link-embeds:
enabled: true
name_default: "Untitled Link"
desc_default: "No description found"
image_default: "https://github.com/Aetherinox/mkdocs-link-embeds/assets/118329232/c0298d98-0910-4235-a88f-0c3e2f704ba7"
image_disabled: false
favicon_default: "https://github.com/Aetherinox/mkdocs-link-embeds/assets/118329232/b37da9c6-6f17-4c3f-9c94-c346a6f31bfa"
favicon_disabled: false
favicon_size: 25
target: "blank"
accent: "FFFFFF1A"
verbose: false
- blog:
blog_dir: blog
post_dir: "{blog}/posts"
post_date_format: full
post_url_date_format: yyyy/MM
post_url_format: "{date}/{slug}"
post_slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
post_excerpt: optional
post_excerpt_separator: <!-- more -->
post_readtime: false
post_readtime_words_per_minute: 260
categories_slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
categories_allowed:
- General
- Science
- Computer
authors: true
authors_file: "{blog}/.authors.yml"
pagination: true
pagination_per_page: 5
- mkdocs-jupyter
#- include-markdown # tried and it is so slow
#- mknotebooks
#- redirects:
# redirect_maps:
# 'projects/gpu.md': 'https://gpu.org'
- glightbox: # tried very slow, add 10 times time in building
# find the problem caused by the conflict with link-embed
# disable glightbox in frontmatter in the page with link-embed
touchNavigation: true
loop: false
effect: none
slide_effect: slide
width: 100%
height: auto
zoomable: true
draggable: true
skip_classes:
- custom-skip-class-name
auto_caption: false
caption_position: bottom
background: white
shadow: true
manual: true
# main page tree
nav:
- About me:
- index.md
- Projects:
- projects/index.md
- RUBISCO: projects/rubisco.md
- ESGF2: projects/esgf2.md
- Geoengineering: projects/geoengineering.md
- GPU optimization: projects/gpu.md
- Publications:
- publications/index.md
- Presentations: publications/present.md
- Posters: publications/poster.md
- Tools:
- tools/index.md
- Jupyter Notebook Showcase:
- jupyternb/index.md
- Plot NBP time series: jupyternb/check_nbp.ipynb
- Blog:
- blog/index.md
# extra
extra_css:
- assets/stylesheets/link-embeds.css
extra_javascript:
- assets/javascripts/change-annotation-icon.js
- assets/javascripts/mathjax.js
- https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js