-
Notifications
You must be signed in to change notification settings - Fork 1
/
mkdocs.yaml
126 lines (122 loc) · 3.4 KB
/
mkdocs.yaml
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
116
117
118
119
120
121
122
123
124
125
126
# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json
site_name: Route Rules
site_url:
!ENV [
SITE_URL,
READTHEDOCS_CANONICAL_URL,
https://liblaf.github.io/route-rules/,
]
repo_name: liblaf/route-rules
repo_url: https://github.com/liblaf/route-rules
site_author: liblaf
edit_uri: edit/main/docs/
theme:
name: material
features:
- announce.dismiss
- content.action.edit
- content.action.view
- content.code.annotate
- content.code.copy
- content.code.select
- content.footnote.tooltips
- content.tabs.link
- content.tooltips
# - header.autohide
# - navigation.expand
# - navigation.footer
# - navigation.indexes
- navigation.instant
- navigation.instant.prefetch
- navigation.instant.progress
- navigation.path
# - navigation.prune
- navigation.sections
- navigation.tabs
- navigation.tabs.sticky
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
# - toc.integrate
palette:
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: system preference
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: light mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: dark mode
plugins:
# Built-in plugins
# - optimize
- search
- social
# External plugins, schema provided by us
- gen-files:
scripts:
- scripts/docs/gen-stats.py
- scripts/docs/gen-ref-pages.py
- git-committers:
enabled: !ENV [READTHEDOCS, CI, false]
repository: liblaf/route-rules
branch: main
- literate-nav
- section-index
# External plugins, schema provided by our community
- git-revision-date-localized:
enable_creation_date: true
- mkdocstrings:
default_handler: python
enable_inventory: true
handlers:
python:
import:
- https://anyio.readthedocs.io/en/stable/objects.inv
- https://boltons.readthedocs.io/en/stable/objects.inv
- https://docs.pydantic.dev/latest/objects.inv
- https://docs.python.org/3/objects.inv
- https://humanize.readthedocs.io/en/stable/objects.inv
- https://loguru.readthedocs.io/en/stable/objects.inv
- https://rich.readthedocs.io/en/stable/objects.inv
- https://ubelt.readthedocs.io/en/stable/objects.inv
- https://validators.readthedocs.io/en/stable/objects.inv
options:
# General
show_source: false
# Headings
show_symbol_type_heading: true
show_symbol_type_toc: true
# Members
inherited_members: true
filters:
- "!^_[^_]"
- "!__all__"
summary: true
# Docstrings
docstring_section_style: list
show_if_no_docstring: true
# Signatures
show_signature_annotations: true
separate_signature: true
signature_crossrefs: true
markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.snippets
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
watch:
- docs/
- scripts/docs/
- src/sbr/