-
Notifications
You must be signed in to change notification settings - Fork 1
/
mkdocs.yml
86 lines (78 loc) · 2.31 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
---
# To test locally, you can use the following approach:
# ln mkdocs.yml /some/other/dir/mkdocs.yml
# MKDOCS_DOCS_DST=$PWD /tmp/venv01/bin/python3 -mmkdocs serve -csf/some/other/dir/mkdocs.yml
strict: true
docs_dir: !ENV MKDOCS_DOCS_DST
site_dir: !ENV MKDOCS_SITE_DIR
# Inspired by https://github.com/squidfunk/mkdocs-material/blob/master/mkdocs.yml
site_name: dmotte/misc
site_url: https://dmotte.github.io/misc/
site_author: dmotte
site_description: dmotte/misc
repo_name: dmotte/misc
repo_url: https://github.com/dmotte/misc
edit_uri: blob/main
theme:
name: material
features:
- content.action.edit
- content.action.view
- content.code.copy
- content.tooltips
- navigation.tabs
- navigation.indexes # Provides same behavior as the "mkdocs-section-index" plugin
- navigation.expand
- navigation.footer
- navigation.top
- search.share
- search.suggest
- search.highlight
palette:
- media: "(prefers-color-scheme)"
toggle:
icon: material/link
name: Switch to light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/toggle-switch
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
accent: indigo
toggle:
icon: material/toggle-switch-off
name: Switch to system preference
# favicon: null
icon: { logo: material/shield }
plugins:
- minify: { minify_html: true }
- search
extra:
consent:
title: Cookie consent
description: >-
This is a static website, but it may still use some cookies. By
continuing to use this website, you consent to the use of cookies.
social:
- icon: fontawesome/brands/github
link: https://github.com/dmotte
markdown_extensions:
- pymdownx.magiclink
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight:
auto_title: true
auto_title_map: { Text Only: "" }
linenums: true
anchor_linenums: true
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format