-
Notifications
You must be signed in to change notification settings - Fork 38
/
mkdocs.yml
111 lines (96 loc) · 2.67 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
# Project info
site_name: Treefmt
site_url: https://treefmt.com
site_description: >-
One CLI to format your repo
# Repository
repo_name: numtide/treefmt
repo_url: https://github.com/numtide/treefmt
# Copyright
copyright: >-
Content on this site is licensed under a <a href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons
Attribution-ShareAlike 4.0 International license</a>.
validation:
omitted_files: warn
absolute_links: warn
unrecognized_links: warn
# Configuration
docs_dir: docs/content
theme:
name: material
custom_dir: docs/theme
logo: assets/images/logo.png
favicon: assets/images/logo.png
features:
- content.code.annotate
- content.code.copy
- navigation.footer
- navigation.indexes
- navigation.path
- navigation.sections
- navigation.tabs
- navigation.tracking
- search.highlight
- search.share
- search.suggest
font:
text: Inter
mono: Noto Sans Mono
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
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to system preference
extra:
version:
provider: mike
social:
- icon: fontawesome/brands/github
link: https://github.com/numtide
- icon: fontawesome/brands/x-twitter
link: https://x.com/numtide
- icon: fontawesome/brands/mastodon
link: https://fosstodon.org/@numtide
extra_css:
- stylesheets/extra.css
markdown_extensions:
- tables
- admonition
- attr_list
- footnotes
- md_in_html
- def_list
- meta
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
- pymdownx.details
- pymdownx.highlight:
use_pygments: true
linenums: true
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.keys
plugins:
- awesome-pages
- mike
- search