-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
189 lines (181 loc) · 6.21 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
site_name: Achewood on Material for MkDocs
site_url: https://josh-wong.github.io/achewood/
# Add repository details in the top right-hand corner
repo_name: josh-wong/achewood
repo_url: https://github.com/josh-wong/achewood
# > **Warning**
# >
# > This edit page button does not work. I have prioritized the
# multidocs site, so the edit page button on https://josh-wong.github.io
# is correct; there doesn't seem to be a way to remove it from one site
# and keep it on the other.
# edit_uri: blob/main/
plugins:
# Enable the search function (currently disabled to take advantage of new search features in Material for MkDocs Insiders)
#- search
- minify:
minify_html: true
# Enable videos to be embedded
- mkdocs-video:
css_style:
width: "100%"
height: "300px"
# Enables TechDocs support in Backstage. However, many plugins need to be disabled for TechDocs to work properly.
#- techdocs-core
markdown_extensions:
# Add support for abbreviations
- abbr
# Add support for Material for MkDocs admonitions
- admonition
# Add styles for buttons
- attr_list
# Add support for grid cards
- md_in_html
# Make admonitions collapsible
- pymdownx.details
# Add emoji support
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
# Add tooltip support
#- pymdownx.snippets:
# auto_append:
# - includes/glossary.md
# Add support for arbitrary nesting of code and content blocks inside each other.
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
# Add support for TOC configuration
- toc:
# Add link next to header that allows the user to get a permalink to the heading (still need to copy the URL in the address bar).
permalink: true
theme:
name: material
# Extend the theme
#custom_dir: overrides
# Add favicon to browser tab
favicon: https://www.achewood.com/favicon.ico
# Add logos to docs page
logo: https://www.achewood.com/favicon.ico
# Add icon to show repository information and link
icon:
repo: fontawesome/brands/github
# Add icons for Material for MkDocs admonitions
admonition:
note: fontawesome/solid/note-sticky
abstract: fontawesome/solid/book
info: fontawesome/solid/circle-info
tip: fontawesome/solid/bullhorn
success: fontawesome/solid/check
question: fontawesome/solid/circle-question
warning: fontawesome/solid/triangle-exclamation
failure: fontawesome/solid/bomb
danger: fontawesome/solid/skull
bug: fontawesome/solid/robot
example: fontawesome/solid/flask
quote: fontawesome/solid/quote-left
# Add light & dark theme
palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to light mode
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: 080f53
toggle:
icon: material/weather-sunny
name: Switch to dark mode
primary: blue
accent: blue
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/weather-night
name: Switch to system preference
primary: blue
accent: blue
features:
# Mark announcement as read
- announce.dismiss
- content.action.edit
- content.action.view
- content.code.copy
# Add support for improved tooltips
- content.tooltips
# Add custom search functions
- search.highlight
- search.share
- search.suggest
# Add custom navigation functions
# Auto-expand each nav section
#- navigation.expand
- navigation.footer
- navigation.indexes
- navigation.instant
#- navigation.sections
#- navigation.tabs
#- navigation.tabs.sticky
# Remove "Back to top" button since each page is already short.
#- navigation.top
- navigation.tracking
extra:
analytics:
provider: google
property: G-PMP34RZWN2
feedback:
title: Was this page helpful?
ratings:
- icon: material/thumb-up-outline
name: This page was helpful
data: 1
note: >-
Thanks for your feedback!
- icon: material/thumb-down-outline
name: This page could be improved
data: 0
note: >-
Thanks for your feedback! Help me improve this page by <a href="https://github.com/josh-wong/achewood/issues/new/?title=[Feedback]+{title}+-+{url}" target="_blank" rel="noopener">creating an issue in GitHub</a>.
consent:
title: Cookie consent
description: >-
This site uses cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of the documentation and whether users find what they're searching for. With your consent, you're helping to improve this documentation and provide a better user experience.
actions:
- accept
- manage
social:
- icon: fontawesome/brands/github
link: https://github.com/josh-wong
name: josh-wong on GitHub
- icon: fontawesome/brands/gitlab
link: https://gitlab.com/josh-wong
name: josh-wong on GitLab
- icon: fontawesome/brands/linkedin
link: https://www.linkedin.com/in/wongjoshua
name: Joshua Wong on LinkedIn
- icon: fontawesome/brands/mastodon
link: https://famichiki.jp/@josh
name: josh on Mastodon
- icon: fontawesome/brands/steam
link: https://steamcommunity.com/id/hex080f53
name: hex080f53 on Steam
- icon: fontawesome/brands/twitter
link: https://twitter.com/080f53
name: 080f53 on Twitter
status:
new: Recently added
deprecated: Deprecated
extra_css:
- stylesheets/extra.css
copyright: >
© 2021-2023 Josh Wong –
<a href="#__consent">🍪Cookie settings</a>
#nav:
# - Overview: 'index.md'
# - '': ''
# - '': ''
# - 🏠Home: 'https://josh-wong.github.io'