-
Notifications
You must be signed in to change notification settings - Fork 29
/
mkdocs.yml
87 lines (84 loc) · 2.11 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
site_name: basedpyright
site_url: https://docs.basedpyright.com
theme:
name: material
features:
- navigation.indexes
- content.code.copy
- navigation.top
- navigation.instant
palette:
# Palette toggle for automatic mode
- media: '(prefers-color-scheme)'
primary: amber
accent: amber
toggle:
icon: material/brightness-auto
name: Switch to light mode
# Palette toggle for light mode
- media: '(prefers-color-scheme: light)'
primary: amber
accent: amber
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: '(prefers-color-scheme: dark)'
primary: amber
accent: amber
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to system preference
favicon: img/favicon.ico
logo: img/logo_black.png
icon:
repo: fontawesome/brands/github
markdown_extensions:
- pymdownx.snippets
- admonition
- pymdownx.details
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
plugins:
- search
- awesome-pages
# https://github.com/wilhelmer/mkdocs-unused-files/issues/12
# - unused_files
- macros:
module_name: build/docs_macros
on_undefined: strict
nav:
- index.md
- ... | benefits-over-pyright/**/*.md
- ... | installation/**/*.md
- ...
- ... | development/**/*.md
- ... | shoutouts.md
exclude_docs: |
/configuration.md
repo_url: https://github.com/detachhead/basedpyright
repo_name: detachhead/basedpyright
extra_css:
- stylesheets/extra.css
validation:
nav:
# using awesome-pages plugin so it doesn't recognize these:
omitted_files: info
absolute_links: info
links:
anchors: warn
absolute_links: warn
unrecognized_links: warn
extra:
version:
provider: mike
social:
- icon: fontawesome/brands/github
link: https://github.com/detachhead/basedpyright
- icon: fontawesome/brands/python
link: https://pypi.org/project/basedpyright/
- icon: fontawesome/brands/discord
link: https://discord.gg/7y9upqPrk2