Debian Codegraph @

docs/en/mkdocs.yml

raw
1 site_name: FastAPI
2 site_description: FastAPI framework, high performance, easy to learn, fast to code, ready for production
3 site_url: https://fastapi.tiangolo.com/
4 theme:
5 variant: classic
6 name: material
7 custom_dir: overrides
8 palette:
9 - media: (prefers-color-scheme)
10 toggle:
11 icon: material/lightbulb-auto
12 name: Switch to light mode
13 - media: '(prefers-color-scheme: light)'
14 scheme: default
15 primary: teal
16 accent: amber
17 toggle:
18 icon: material/lightbulb
19 name: Switch to dark mode
20 - media: '(prefers-color-scheme: dark)'
21 scheme: slate
22 primary: teal
23 accent: amber
24 toggle:
25 icon: material/lightbulb-outline
26 name: Switch to system preference
27 features:
28 - content.code.annotate
29 - content.code.copy
30 - content.footnote.tooltips
31 - content.tabs.link
32 - content.tooltips
33 - navigation.footer
34 - navigation.indexes
35 - navigation.instant
36 - navigation.instant.prefetch
37 - navigation.instant.progress
38 - navigation.path
39 - navigation.tabs
40 - navigation.tabs.sticky
41 - navigation.top
42 - navigation.tracking
43 - search.highlight
44 - search.share
45 - search.suggest
46 - toc.follow
47 icon:
48 repo: octicons/mark-github-24
49 logo: img/icon-white.svg
50 favicon: img/favicon.png
51 language: en
52 repo_name: fastapi/fastapi
53 repo_url: https://github.com/fastapi/fastapi
54 plugins:
55 mkdocstrings:
56 handlers:
57 python:
58 options:
59 extensions:
60 - griffe_typingdoc
61 show_root_heading: true
62 show_if_no_docstring: true
63 preload_modules:
64 - httpx
65 - starlette
66 inherited_members: true
67 members_order: source
68 separate_signature: true
69 unwrap_annotated: true
70 filters:
71 - '!^_'
72 merge_init_into_class: true
73 docstring_section_style: spacy
74 signature_crossrefs: true
75 show_symbol_type_heading: true
76 show_symbol_type_toc: true
77 nav:
78 - FastAPI: index.md
79 - features.md
80 - "":
81 - learn/index.md
82 - python-types.md
83 - async.md
84 - "":
85 - tutorial/index.md
86 - tutorial/first-steps.md
87 - tutorial/path-params.md
88 - tutorial/query-params.md
89 - tutorial/body.md
90 - tutorial/query-params-str-validations.md
91 - tutorial/path-params-numeric-validations.md
92 - tutorial/query-param-models.md
93 - tutorial/body-multiple-params.md
94 - tutorial/body-fields.md
95 - tutorial/body-nested-models.md
96 - tutorial/schema-extra-example.md
97 - tutorial/extra-data-types.md
98 - tutorial/cookie-params.md
99 - tutorial/header-params.md
100 - tutorial/cookie-param-models.md
101 - tutorial/header-param-models.md
102 - tutorial/response-model.md
103 - tutorial/extra-models.md
104 - tutorial/response-status-code.md
105 - tutorial/request-forms.md
106 - tutorial/request-form-models.md
107 - tutorial/request-files.md
108 - tutorial/request-forms-and-files.md
109 - tutorial/handling-errors.md
110 - tutorial/path-operation-configuration.md
111 - tutorial/encoder.md
112 - tutorial/body-updates.md
113 - "":
114 - tutorial/dependencies/index.md
115 - tutorial/dependencies/classes-as-dependencies.md
116 - tutorial/dependencies/sub-dependencies.md
117 - tutorial/dependencies/dependencies-in-path-operation-decorators.md
118 - tutorial/dependencies/global-dependencies.md
119 - tutorial/dependencies/dependencies-with-yield.md
120 - "":
121 - tutorial/security/index.md
122 - tutorial/security/first-steps.md
123 - tutorial/security/get-current-user.md
124 - tutorial/security/simple-oauth2.md
125 - tutorial/security/oauth2-jwt.md
126 - tutorial/middleware.md
127 - tutorial/cors.md
128 - tutorial/sql-databases.md
129 - tutorial/bigger-applications.md
130 - tutorial/stream-json-lines.md
131 - tutorial/server-sent-events.md
132 - tutorial/background-tasks.md
133 - tutorial/metadata.md
134 - tutorial/frontend.md
135 - tutorial/static-files.md
136 - tutorial/testing.md
137 - tutorial/debugging.md
138 - "":
139 - advanced/index.md
140 - advanced/stream-data.md
141 - advanced/path-operation-advanced-configuration.md
142 - advanced/additional-status-codes.md
143 - advanced/response-directly.md
144 - advanced/custom-response.md
145 - advanced/additional-responses.md
146 - advanced/response-cookies.md
147 - advanced/response-headers.md
148 - advanced/response-change-status-code.md
149 - advanced/advanced-dependencies.md
150 - "":
151 - advanced/security/index.md
152 - advanced/security/oauth2-scopes.md
153 - advanced/security/http-basic-auth.md
154 - advanced/using-request-directly.md
155 - advanced/dataclasses.md
156 - advanced/middleware.md
157 - advanced/sub-applications.md
158 - advanced/behind-a-proxy.md
159 - advanced/templates.md
160 - advanced/websockets.md
161 - advanced/events.md
162 - advanced/testing-websockets.md
163 - advanced/testing-events.md
164 - advanced/testing-dependencies.md
165 - advanced/async-tests.md
166 - advanced/settings.md
167 - advanced/openapi-callbacks.md
168 - advanced/openapi-webhooks.md
169 - advanced/wsgi.md
170 - advanced/generate-clients.md
171 - advanced/advanced-python-types.md
172 - advanced/json-base64-bytes.md
173 - advanced/strict-content-type.md
174 - fastapi-cli.md
175 - editor-support.md
176 - "":
177 - deployment/index.md
178 - deployment/versions.md
179 - deployment/fastapicloud.md
180 - deployment/https.md
181 - deployment/manually.md
182 - deployment/concepts.md
183 - deployment/cloud.md
184 - deployment/server-workers.md
185 - deployment/docker.md
186 - "":
187 - how-to/index.md
188 - how-to/general.md
189 - how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
190 - how-to/graphql.md
191 - how-to/custom-request-and-route.md
192 - how-to/conditional-openapi.md
193 - how-to/extending-openapi.md
194 - how-to/separate-openapi-schemas.md
195 - how-to/custom-docs-ui-assets.md
196 - how-to/configure-swagger-ui.md
197 - how-to/testing-database.md
198 - how-to/authentication-error-status-code.md
199 - "":
200 - reference/index.md
201 - reference/fastapi.md
202 - reference/parameters.md
203 - reference/status.md
204 - reference/uploadfile.md
205 - reference/exceptions.md
206 - reference/dependencies.md
207 - reference/apirouter.md
208 - reference/background.md
209 - reference/request.md
210 - reference/websockets.md
211 - reference/httpconnection.md
212 - reference/response.md
213 - reference/responses.md
214 - reference/sse.md
215 - reference/middleware.md
216 - "":
217 - reference/openapi/index.md
218 - reference/openapi/docs.md
219 - reference/openapi/models.md
220 - reference/security/index.md
221 - reference/encoders.md
222 - reference/staticfiles.md
223 - reference/templating.md
224 - reference/testclient.md
225 - "":
226 - resources/index.md
227 - fastapi-people.md
228 - help-fastapi.md
229 - contributing.md
230 - translations.md
231 - project-generation.md
232 - external-links.md
233 - newsletter.md
234 - "":
235 - about/index.md
236 - alternatives.md
237 - history-design-future.md
238 - benchmarks.md
239 - management.md
240 - release-notes.md
241 markdown_extensions:
242 zensical.extensions.macros: null
243 abbr: null
244 attr_list: null
245 footnotes: null
246 md_in_html: null
247 tables: null
248 toc:
249 permalink: true
250 pymdownx.betterem: null
251 pymdownx.caret: null
252 pymdownx.highlight:
253 line_spans: __span
254 linenums_style: pymdownx-inline
255 pymdownx.inlinehilite: null
256 pymdownx.keys: null
257 pymdownx.mark: null
258 pymdownx.superfences:
259 custom_fences:
260 - name: mermaid
261 class: mermaid
262 format: !!python/name:pymdownx.superfences.fence_code_format ''
263 pymdownx.tilde: null
264 pymdownx.blocks.admonition:
265 # TODO: remove types section (with custom types) once translations are migrated to
266 # not use custom types too
267 types:
268 # Default types
269 - note
270 - attention
271 - caution
272 - danger
273 - error
274 - tip
275 - hint
276 - warning
277 # Custom types
278 - info
279 - check
280 pymdownx.blocks.details: null
281 pymdownx.blocks.tab:
282 alternate_style: true
283 mdx_include: null
284 markdown_include_variants: null
285 extra:
286 social:
287 - icon: octicons/mark-github-24
288 link: https://github.com/fastapi/fastapi
289 - icon: fontawesome/brands/discord
290 link: https://discord.com/invite/VQjSZaeJmf
291 - icon: fontawesome/brands/x-twitter
292 link: https://x.com/fastapi
293 - icon: fontawesome/brands/bluesky
294 link: https://bsky.app/profile/fastapi.tiangolo.com
295 - icon: fontawesome/brands/linkedin
296 link: https://www.linkedin.com/company/fastapi
297 alternate:
298 - link: /
299 name: en - English
300 - link: /de/
301 name: de - Deutsch
302 - link: /es/
303 name: es - español
304 - link: /fr/
305 name: fr - français
306 - link: /hi/
307 name: hi - हिन्दी
308 - link: /ja/
309 name: ja - 日本語
310 - link: /ko/
311 name: ko - 한국어
312 - link: /pt/
313 name: pt - português
314 - link: /ru/
315 name: ru - русский язык
316 - link: /tr/
317 name: tr - Türkçe
318 - link: /uk/
319 name: uk - українська мова
320 - link: /zh/
321 name: zh - 简体中文
322 - link: /zh-hant/
323 name: zh-hant - 繁體中文
324 extra_css:
325 - css/termynal.css
326 - css/custom.css
327 extra_javascript:
328 - js/termynal.js
329 - js/custom.js
330 - js/init_kapa_widget.js
331 validation:
332 unresolved_references: false