-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathmkdocs.yml
More file actions
182 lines (156 loc) · 5.69 KB
/
mkdocs.yml
File metadata and controls
182 lines (156 loc) · 5.69 KB
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
site_name: bambu-printer-manager
site_url: https://github.com
repo_url: https://github.com/
watch:
- src
nav:
- Home: index.md
- Data Dictionary: data-dictionary.md
- MQTT & Integration:
- Protocol Reference: mqtt-protocol-reference.md
- API Reference: api-reference.md
- Code Reference: reference/
- Client Container:
- Overview: container.md
- License: license.md
markdown_extensions:
- admonition
- pymdownx.superfences
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem
- pymdownx.caret
- pymdownx.mark
- pymdownx.tilde
- pymdownx.critic
- pymdownx.details
- pymdownx.highlight:
anchor_linenums: true
use_pygments: true
pygments_lang_class: true
auto_title: true
linenums: true
linenums_style: pymdownx-inline
line_spans: __span
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.smartsymbols
- pymdownx.snippets
theme:
name: material
features:
- navigation.tabs
- navigation.sections
- toc.integrate
- navigation.top
- search.suggest
- search.highlight
- content.tabs.link
- content.code.annotation
- content.code.copy
language: en
palette:
# Light mode (System default)
- media: "(prefers-color-scheme: light)"
scheme: default
primary: teal
accent: green
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Dark mode (System default)
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: green
accent: teal
toggle:
icon: material/brightness-4
name: Switch to light mode
validation:
omitted_files: warn
absolute_links: warn
unrecognized_links: warn
plugins:
- search
- gen-files:
scripts:
- docs/scripts/gen_ref_pages.py
- literate-nav:
nav_file: SUMMARY.md
- section-index
- mkdocstrings:
default_handler: python
handlers:
python:
paths: ["src/" ]
options:
# DOCSTRINGS -------------------------------------------------------------
docstring_options:
# Discard first line of `__init__` method docstrings,
# useful when merging such docstrings into their parent class'.
ignore_init_summary: true
# Tables are generally too large, lists will fix this.
# docstring_section_style: list
# CROSS-REFERENCES -------------------------------------------------------
# Enable relative crossrefs and scoped crossrefs, see Docstrings options.
# relative_crossrefs: true # Sponsors only!
# scoped_crossrefs: true # Sponsors only!
# Enable cross-references in signatures.
signature_crossrefs: true
# Unwrap actual types from `Annotated` type annotations.
unwrap_annotated: true
# MEMBERS ----------------------------------------------------------------
# Only render pulic symbols.
# filters: public # Sponsors only!
# Comment the option otherwise to get the default filters.
# Show class inherited members.
inherited_members: true
# Render auto-generated summaries of attributes, functions, etc.
# at the start of each symbol's documentation.
summary: true
# HEADINGS ---------------------------------------------------------------
# For auto-generated pages, one module per page,
# make the module heading be the H1 heading of the page.
heading_level: 1
# Render headings for parameters, making them linkable.
parameter_headings: true
# Render headings for type parameters too.
type_parameter_headings: true
# Always show the heading for the symbol you render with `::: id`.
show_root_heading: true
# Only show the name of the symbols you inject render `::: id`.
show_root_full_path: false
# Show the type of symbol (class, function, etc.) in the heading.
show_symbol_type_heading: true
# Show the type of symbol (class, function, etc.) in the table of contents.
show_symbol_type_toc: true
# SIGNATURES -------------------------------------------------------------
# Format code to 80 + 10% margin (Black and Ruff defaults)
# in signatures and attribute value code blocks.
# Needs Black/Ruff installed.
line_length: 88
# Merge signature and docstring of `__init__` methods
# into their parent class signature and docstring.
merge_init_into_class: true
# Render signatures and attribute values in a separate code block,
# below the symbol heading.
separate_signature: true
# Show type annotations in signatures.
show_signature_annotations: true
# Show type parameters in signatures.
show_signature_type_parameters: true
# OTHER ------------------------------------------------------------------
# Show backlinks to other documentation sections within each symbol.
# backlinks: tree # Sponsors only!
# Show base classes OR inheritance diagram.
show_bases: true
# show_inheritance_diagram: true # Sponsors only!
show_labels: true
show_docstring_description: true
extra:
render_deprecated: true
# extensions:
# - griffe_warnings_deprecated:
# kind: danger
# title: Deprecated
# label: deprecated