-
Notifications
You must be signed in to change notification settings - Fork 7
/
mkdocs.yml
228 lines (199 loc) · 6.99 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
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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
site_name: ASAB
repo_url: https://github.com/TeskaLabs/asab
repo_name: TeskaLabs/asab
# THEME, COLORS, FONTS, ICONS
theme:
name: "material"
logo: images/teskalabs-logo.svg
favicon: images/teskalabs.png
features:
- content.code.copy
- content.code.select
- content.code.annotate
- navigation.tabs
- navigation.footer
- navigation.indexes
- navigation.top # back-to-the-top button when scrolling up
- navigation.tracking
- attr_list
- admonition
- pymdownx.details
- pymdownx.superfences
- pymdownx.critic
- pymdownx.caret
- pymdownx.keys
- pymdownx.mark
- pymdownx.tilde
- def_list
- search.suggest # autocomplete the search query
- search.share # share the queried endpoint
icon:
admonition:
note: fontawesome/solid/note-sticky
abstract: fontawesome/solid/book
info: fontawesome/solid/circle-info
tip: fontawesome/solid/bullhorn
success: fontawesome/solid/check
failure: fontawesome/solid/xmark
question: fontawesome/solid/circle-question
warning: fontawesome/solid/triangle-exclamation
danger: fontawesome/solid/skull
bug: fontawesome/solid/robot
example: fontawesome/solid/code
quote: fontawesome/solid/quote-left
incomplete: material/excavator
repo: fontawesome/brands/github
font:
text: Verdana
palette:
- scheme: default
primary: blue
accent: blue
toggle:
icon: material/brightness-7
name: Switch to dark mode
- scheme: slate
primary: blue
accent: yellow
toggle:
icon: material/brightness-4
name: Switch to light mode
extra_css:
- stylesheets/extra.css
# PLUGINS
plugins:
- mkdocstrings:
default_handler: python
handlers:
python:
options:
# https://mkdocstrings.github.io/python/usage/configuration/docstrings/
docstring_style: google # | google | numpy | sphinx
docstring_section_style: table # table | list | spacy
show_if_no_docstring: false # ...we are hereby compelled to write docstrings
show_docstring_description: true
show_root_heading: true # e.g. 'asab.storage.service.StorageService'
show_source: true # show source code of method (class)
heading_level: 3 # class names displayed as <h3>
annotations_path: brief
- glightbox
- search
- awesome-pages
- git-revision-date-localized
- tags
- autorefs # https://mkdocstrings.github.io/usage/#cross-references-to-any-markdown-heading
markdown_extensions:
# Syntax highlighting
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- tables
# Admonitions (call-outs) https://squidfunk.github.io/mkdocs-material/reference/admonitions/
- admonition
- pymdownx.details
- pymdownx.superfences # arbitrary nesting of code and tabs
# Annotations https://squidfunk.github.io/mkdocs-material/reference/annotations/
- attr_list
- md_in_html
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
options:
custom_icons:
- docs/overrides/.icons
# Content tabs and anchor links https://squidfunk.github.io/mkdocs-material/reference/content-tabs/
- pymdownx.tabbed:
alternate_style: true
# Permalinks
- toc:
permalink: "¤"
extra:
social:
- icon: fontawesome/brands/github-alt
link: https://github.com/TeskaLabs/asab
- icon: fontawesome/brands/linkedin
link: https://www.linkedin.com/company/teskalabs
- icon: fontawesome/brands/twitter
link: https://twitter.com/teskalabs
- icon: fontawesome/solid/paper-plane
link: mailto:info@teskalabs.com
name: info@teskalabs.com
# NAVIGATION TREE
nav:
- Home:
- About: index.md
- Installing ASAB: getting-started/installation_first_app.md
- Contributing: contributing.md
- Tutorials:
- how-tos/index.md
- Installation and first application: how-tos/installing-asab.md
- Creating a web server: getting-started/web_server.md
- Containerization: getting-started/containers.md
- Creating a microservice with REST API: how-tos/03_rest_api.md
- Reference:
- Application: reference/application.md
- Configuration: reference/configuration.md
- Logging: reference/logging.md
- PubSub: reference/pubsub.md
- Modules and Services:
- reference/services/index.md
- Web:
- Web server: reference/services/web/web-server.md
- TLS/SSL: reference/services/web/tls.md
- Authorization and Multi-tenancy: reference/services/web/authorization_multitenancy.md
- Cross-Origin Resource Sharing: reference/services/web/cors.md
- Library: reference/services/library.md
- OpenAPI Documentation: reference/services/web/rest_api_docs.md
- Sentry Integration: reference/services/sentry.md
- Metrics:
- reference/services/metrics/index.md
- Monitoring: reference/services/metrics/monitoring.md
- Interpretation: reference/services/metrics/interpretation.md
- Create metrics: reference/services/metrics/create_metrics.md
- Types of metrics: reference/services/metrics/metrics_types.md
- Built-in metrics: reference/services/metrics/built_ins.md
- Tags: reference/services/metrics/tags.md
- Storage: reference/services/storage.md
- Task: reference/services/task.md
- Proactor: reference/services/proactor.md
- Zookeeper: reference/services/zookeeper.md
- Service Discovery: reference/services/service-discovery.md
- Utility functions and classes:
- Utility functions: reference/utils/utils.md
- Persistent dictionary: reference/utils/persistent_dictionary.md
- Timer: reference/utils/timer.md
# Examples are rendered automatically with create_examples.py script
# please do not modify this part manually and leave it at the bottom of the file
- Examples:
- examples/application_states.md
- examples/argparser.md
- examples/config_getseconds.md
- examples/config_geturl.md
- examples/executor.md
- examples/hello_world.md
- examples/json_schema.md
- examples/library-git-provider.md
- examples/library-subscribe.md
- examples/library.md
- examples/logging-file.md
- examples/metrics-web-requests.md
- examples/metrics.md
- examples/pdict.md
- examples/pubsub.md
- examples/service-discovery.md
- examples/storage_elasticsearch.md
- examples/storage_inmemory.md
- examples/storage_mongodb.md
- examples/task.md
- examples/timer.md
- examples/web-auth.md
- examples/web-authz-rbac.md
- examples/web-authz-userinfo.md
- examples/webserver.md
- examples/websocket-chat.md
- examples/zookeeper-advertise.md
- examples/zookeeper.md
- examples/config_getmultiline.md