-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
260 lines (248 loc) · 6.82 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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json
---
# Project information
site_name: 'dreknix - Documentation'
# site_description: 'dreknix'
site_author: 'dreknix'
site_url: !ENV [MKDOCS_SITE_URL, 'http://localhost:8000']
dev_addr: !ENV [MKDOCS_DEV_ADDR, '127.0.0.1:8000']
# Repository
repo_url: 'https://github.com/dreknix/wiki'
repo_name: 'dreknix/wiki'
edit_uri: 'edit/main/docs/'
use_directory_urls: false
# Mkdocs validation
# https://www.mkdocs.org/user-guide/configuration/#validation
validation:
anchors: warn # New in MkDocs 1.6
absolute_links: warn # Or 'relative_to_docs' - new in MkDocs 1.6
omitted_files: warn
unrecognized_links: warn
# nav:
# omitted_files: ignore
# Configuration
theme:
name: 'material'
language: 'en'
favicon: assets/images/favicon.png
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: default
primary: 'teal'
accent: 'deep orange'
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: 'teal'
accent: 'deep orange'
toggle:
icon: material/brightness-4
name: Switch to system preference
font:
text: 'Roboto'
code: 'Roboto Mono'
features:
# - content.action.edit
- content.code.annotate
- content.code.copy
- content.tabs.link
- content.tooltips
# - navigation.expand
- navigation.indexes
- navigation.instant
- navigation.instant.progress
- navigation.prune
# - navigation.sections
- navigation.tabs
- navigation.tabs.sticky
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#anchor-following
- toc.follow
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-integration
# # - toc.integrate
icon:
logo: material/library
# repo: fontawesome/brands/bitbucket
#
# search for icons: https://squidfunk.github.io/mkdocs-material/reference/icons-emojis/
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
tag:
ansible: simple/ansible
bash: simple/gnubash
debian: simple/debian
docker: simple/docker
git: simple/git
github: simple/github
gitlab: simple/gitlab
homeassistant: simple/homeassistant
html: fontawesome/brands/html5
json: material/code-json
markdown: simple/markdown
neovim: simple/neovim
powershell: material/powershell
proxmox: simple/proxmox
python: simple/python
tmux: simple/tmux
truenas: simple/truenas
ubuntu: simple/ubuntu
vim: simple/vim
windows: material/microsoft-windows
yaml: simple/yaml
extra:
consent:
title: Cookie consent
description: >-
We use cookies to recognize your repeated visits and preferences, as well
as to measure the effectiveness of our documentation and whether users
find what they're searching for. With your consent, you're helping us to
make our documentation better.
actions:
- accept
- manage
tags:
Ansible: ansible
bash: bash
Debian: debian
Docker: docker
Git: git
GitHub: github
GitLab: gitlab
HomeAssistant: homeassistant
HTML: html
JSON: json
Markdown: markdown
Neovim: neovim
PowerShell: powershell
Proxmox: proxmox
Python: python
tmux: tmux
TrueNAS: truenas
Ubuntu: ubuntu
Vim: vim
Windows: windows
YAML: yaml
copyright: >
Copyright © 2022-2024 dreknix –
<a href="#__consent">Change cookie settings</a>
# Plugins
plugins:
- awesome-pages:
# collapse_single_pages: true
strict: true
- blog:
enabled: true
post_readtime: false
- file-filter:
enabled: !ENV [CI, false]
filter_nav: true
exclude_tag:
- braindump
- draft
- git-committers:
enabled: !ENV [CI, false]
repository: dreknix/wiki
branch: main
- git-revision-date-localized:
enabled: !ENV [CI, false]
type: date
enable_creation_date: true
- offline:
enabled: !ENV [OFFLINE, false]
- privacy:
enabled: !ENV [CI, false]
concurrency: 1
cache: false
- search:
enabled: true
lang: en
- rss:
enabled: !ENV [CI, false]
match_path: blog/posts/.*
date_from_meta:
as_creation: date
pretty_print: true
categories:
- categories
- tags:
enabled: !ENV [CI, false]
tags_file: tags.md
# Extensions
markdown_extensions:
- abbr
- admonition
- attr_list
- def_list
- md_in_html
- mdx_truly_sane_lists:
nested_indent: 2
truly_sane: true
- pymdownx.arithmatex
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- 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
# https://facelessuser.github.io/pymdown-extensions/extensions/highlight/
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
# https://facelessuser.github.io/pymdown-extensions/extensions/keys/
- pymdownx.keys
# https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/
- pymdownx.magiclink:
repo_url_shortener: true
repo_url_shorthand: true
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.snippets:
base_path: snippets/
# auto_append: abbreviations.md
- pymdownx.superfences:
custom_fences:
# see: https://squidfunk.github.io/mkdocs-material/reference/diagrams/
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
- toc:
permalink: "🔗"
toc_depth: 5
...