-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
125 lines (110 loc) · 2.62 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
# 基本設置
site_name: Da-Wei
site_url: https://dwhao84.github.io/
site_author: Da-Wei, Hao
site_description: Dawei's introduction
# 主題設置
theme:
name: material
language: zh-Hant
logo: assets/logo.png
favicon: assets/square-code.png
# 功能設定
features:
# 導航功能
- navigation.tabs
- navigation.sections
- navigation.expand
- navigation.top
- navigation.footer
- navigation.tracking
- navigation.instant
- toc.follow
# 搜尋功能
- search.highlight
- search.share
- search.suggest
# 內容功能
- content.code.copy
- content.tabs.link
- header.autohide
- announce.dismiss
# 配色方案
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: deep purple
accent: purple
toggle:
icon: material/weather-sunny
name: 切換至深色模式
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: purple
accent: deep purple
toggle:
icon: material/weather-night
name: 切換至淺色模式
# Markdown 擴展
markdown_extensions:
- tables
- attr_list
- md_in_html
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.superfences
- admonition
- pymdownx.details
- pymdownx.tabbed:
alternate_style: true
- footnotes
- def_list
- pymdownx.tasklist:
custom_checkbox: true
- toc:
permalink: true
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.critic
- meta
- pymdownx.snippets
- pymdownx.arithmatex:
generic: true
# 插件
plugins:
- search
- tags
# 社群連結
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/dwhao84
name: GitHub
- icon: fontawesome/brands/medium
link: https://medium.com/@dwsamurai84_dev
name: Medium
- icon: fontawesome/solid/envelope
link: mailto:[email protected]
name: Email
analytics:
provider: google
property: !ENV GA_TRACKING_ID
consent:
title: Cookie 同意
description: >-
我們使用 Cookie 來識別您的重複訪問和偏好設置...
# 頁腳設定
copyright: Copyright © 2024 Da-Wei
# 文檔目錄設定
docs_dir: docs
site_dir: site
# 導航設置
nav:
- 關於我 / About Me: index.md
- 專案作品 / Projects: projects/projects.md
- 技術能力 / Tech Stack: techstack.md
- 工作經歷 / Working Experience: work_experience/resume.md
- 聯絡方式 / Contact: contact.md
extra_css:
- stylesheets/extra.css