Skip to content

Commit 031622a

Browse files
authored
🔧 Clean up docs/en/mkdocs.yml configuration file (fastapi#13542)
1 parent c8a7552 commit 031622a

File tree

1 file changed

+26
-50
lines changed

1 file changed

+26
-50
lines changed

docs/en/mkdocs.yml

Lines changed: 26 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ theme:
66
name: material
77
custom_dir: ../en/overrides
88
palette:
9-
- media: "(prefers-color-scheme)"
9+
- media: (prefers-color-scheme)
1010
toggle:
1111
icon: material/lightbulb-auto
1212
name: Switch to light mode
@@ -27,15 +27,13 @@ theme:
2727
features:
2828
- content.code.annotate
2929
- content.code.copy
30-
# - content.code.select
3130
- content.footnote.tooltips
3231
- content.tabs.link
3332
- content.tooltips
3433
- navigation.footer
3534
- navigation.indexes
3635
- navigation.instant
3736
- navigation.instant.prefetch
38-
# - navigation.instant.preview
3937
- navigation.instant.progress
4038
- navigation.path
4139
- navigation.tabs
@@ -46,7 +44,6 @@ theme:
4644
- search.share
4745
- search.suggest
4846
- toc.follow
49-
5047
icon:
5148
repo: fontawesome/brands/github-alt
5249
logo: img/icon-white.svg
@@ -55,11 +52,7 @@ theme:
5552
repo_name: fastapi/fastapi
5653
repo_url: https://github.com/fastapi/fastapi
5754
plugins:
58-
# Material for MkDocs
59-
search:
60-
# Configured in mkdocs.insiders.yml
61-
# social:
62-
# Other plugins
55+
search: null
6356
macros:
6457
include_yaml:
6558
- external_links: ../en/data/external_links.yml
@@ -103,7 +96,6 @@ plugins:
10396
signature_crossrefs: true
10497
show_symbol_type_heading: true
10598
show_symbol_type_toc: true
106-
10799
nav:
108100
- FastAPI: index.md
109101
- features.md
@@ -258,33 +250,27 @@ nav:
258250
- benchmarks.md
259251
- management.md
260252
- release-notes.md
261-
262253
markdown_extensions:
263-
# Python Markdown
264-
abbr:
265-
attr_list:
266-
footnotes:
267-
md_in_html:
268-
tables:
254+
abbr: null
255+
attr_list: null
256+
footnotes: null
257+
md_in_html: null
258+
tables: null
269259
toc:
270260
permalink: true
271-
272-
# Python Markdown Extensions
273-
pymdownx.betterem:
274-
pymdownx.caret:
261+
pymdownx.betterem: null
262+
pymdownx.caret: null
275263
pymdownx.highlight:
276264
line_spans: __span
277-
pymdownx.inlinehilite:
278-
pymdownx.keys:
279-
pymdownx.mark:
265+
pymdownx.inlinehilite: null
266+
pymdownx.keys: null
267+
pymdownx.mark: null
280268
pymdownx.superfences:
281269
custom_fences:
282270
- name: mermaid
283271
class: mermaid
284-
format: !!python/name:pymdownx.superfences.fence_code_format
285-
pymdownx.tilde:
286-
287-
# pymdownx blocks
272+
format: !!python/name:pymdownx.superfences.fence_code_format ''
273+
pymdownx.tilde: null
288274
pymdownx.blocks.admonition:
289275
types:
290276
- note
@@ -295,34 +281,28 @@ markdown_extensions:
295281
- tip
296282
- hint
297283
- warning
298-
# Custom types
299284
- info
300285
- check
301-
pymdownx.blocks.details:
286+
pymdownx.blocks.details: null
302287
pymdownx.blocks.tab:
303-
alternate_style: True
304-
305-
# Other extensions
306-
mdx_include:
307-
markdown_include_variants:
308-
288+
alternate_style: true
289+
mdx_include: null
290+
markdown_include_variants: null
309291
extra:
310292
analytics:
311293
provider: google
312294
property: G-YNEVN69SC3
313295
feedback:
314296
title: Was this page helpful?
315297
ratings:
316-
- icon: material/emoticon-happy-outline
317-
name: This page was helpful
318-
data: 1
319-
note: >-
320-
Thanks for your feedback!
321-
- icon: material/emoticon-sad-outline
322-
name: This page could be improved
323-
data: 0
324-
note: >-
325-
Thanks for your feedback!
298+
- icon: material/emoticon-happy-outline
299+
name: This page was helpful
300+
data: 1
301+
note: Thanks for your feedback!
302+
- icon: material/emoticon-sad-outline
303+
name: This page could be improved
304+
data: 0
305+
note: Thanks for your feedback!
326306
social:
327307
- icon: fontawesome/brands/github-alt
328308
link: https://github.com/fastapi/fastapi
@@ -338,7 +318,6 @@ extra:
338318
link: https://medium.com/@tiangolo
339319
- icon: fontawesome/solid/globe
340320
link: https://tiangolo.com
341-
342321
alternate:
343322
- link: /
344323
name: en - English
@@ -390,14 +369,11 @@ extra:
390369
name: zh-hant - 繁體中文
391370
- link: /em/
392371
name: 😉
393-
394372
extra_css:
395373
- css/termynal.css
396374
- css/custom.css
397-
398375
extra_javascript:
399376
- js/termynal.js
400377
- js/custom.js
401-
402378
hooks:
403379
- ../../scripts/mkdocs_hooks.py

0 commit comments

Comments
 (0)