-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
mkdocs-base.yml
106 lines (102 loc) · 2.62 KB
/
mkdocs-base.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
copyright: Copyright © 2023 Kumo Corp
site_name: KumoMTA Docs
site_url: https://docs.kumomta.com
site_description: Documentation for KumoMTA
repo_url: https://github.com/KumoCorp/kumomta
repo_name: KumoCorp/kumomta
edit_uri: edit/main/docs/
docs_dir: docs
site_dir: gh_pages
strict: true
theme:
name: material
custom_dir: docs/overrides
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: orange
accent: deep purple
toggle:
icon: material/weather-sunny
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: orange
accent: purple
toggle:
icon: material/weather-night
name: Switch to light mode
features:
- content.action.edit
- content.action.view
- content.code.copy
- content.tabs.link
- navigation.footer
- navigation.indexes
- navigation.tabs
- navigation.top
- search.highlight
- search.share
- search.suggest
- toc.follow
plugins:
- search
- social:
cards: !ENV [CARDS, False]
- git-revision-date-localized:
enabled: !ENV [GIT_DATES, False]
enable_creation_date: true
type: timeago
# Don't emit warnings for our generated files that have no git log,
# because we run overall in strict mode and those warnings would
# be promoted to errors
strict: false
# Don't fatal out for the rustapi docs when they are served
# out of a cache dir that is not directly within the repo
fallback_to_build_date: true
- macros:
module_name: mkdocs_macros
- exclude:
glob:
- "**/_index.md"
- "generate_toc.py"
- "build.sh"
- "SUMMARY.md"
extra_css:
- style.css
extra_javascript:
- javascript/fix-codeblock-console-copy-button.js
markdown_extensions:
- admonition
- pymdownx.details
- def_list
- pymdownx.magiclink:
repo_url_shorthand: true
user: KumoCorp
repo: kumomta
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets:
base_path:
- assets
- docs
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tabbed:
alternate_style: true
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/KumoCorp/kumomta
analytics:
provider: custom
property: foobar