-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
mkdocs.yml
115 lines (111 loc) · 2.91 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
---
site_name: mk tool documentation
site_url: https://mk.readthedocs.io/
repo_url: https://github.com/pycontribs/mk
edit_uri: blob/main/docs/
copyright: Copyright © Sorin Sbarnea
docs_dir: docs
strict: true
extra_css:
- stylesheets/extra.css
theme:
name: material
custom_dir: docs/.overrides
logo: images/logo.svg
favicon: images/favicon.ico
features:
- announce.dismiss
- content.action.edit
- content.action.view
- content.code.annotate
- content.code.copy
- content.tabs.link
- content.tooltips
- header.autohide
- navigation.expand
- navigation.footer
- navigation.indexes
- navigation.instant
- navigation.path
- navigation.prune
- navigation.sections
- navigation.tabs
- navigation.tabs.sticky
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.integrate
palette:
# https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#primary-color
- media: "(prefers-color-scheme: light)"
primary: green
accent: green
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
primary: green
accent: green
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to light mode
extra:
social:
- icon: fontawesome/brands/python
link: https://pypi.org/project/mk/
name: PyPI
- icon: fontawesome/solid/scroll
link: https://github.com/pycontribs/mk/releases
name: Releases
- icon: fontawesome/solid/comments
link: https://github.com/pycontribs/mk/discussions
name: Discussions
- icon: fontawesome/brands/github-alt
link: https://github.com/pycontribs/mk
name: GitHub
plugins:
- autorefs
- markdown-exec
- search
- material/social
- material/tags
# https://github.com/manuzhang/mkdocs-htmlproofer-plugin
- htmlproofer:
raise_error_excludes:
404: ["https://github.com/*/security/*"]
markdown_extensions:
- admonition
- def_list
- footnotes
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.snippets:
check_paths: true
- pymdownx.superfences
- pymdownx.magiclink:
repo_url_shortener: true
repo_url_shorthand: true
social_url_shorthand: true
social_url_shortener: true
user: facelessuser
repo: pymdown-extensions
normalize_issue_symbols: true
- pymdownx.tabbed:
alternate_style: true
- toc:
toc_depth: 2
permalink: true
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- name: python
class: python
validator: !!python/name:markdown_exec.validator
format: !!python/name:markdown_exec.formatter