mirror of
https://github.com/fastapi/fastapi.git
synced 2026-07-13 00:13:02 -04:00
📝 Tweak MkDocs and add redirects (#10111)
This commit is contained in:
committed by
GitHub
parent
e04953a9e0
commit
d1c0e5a89f
@@ -42,6 +42,9 @@ plugins:
|
||||
search: null
|
||||
markdownextradata:
|
||||
data: ../en/data
|
||||
redirects:
|
||||
redirect_maps:
|
||||
deployment/deta.md: deployment/cloud.md
|
||||
nav:
|
||||
- FastAPI: index.md
|
||||
- Languages:
|
||||
@@ -60,6 +63,7 @@ nav:
|
||||
- ru: /ru/
|
||||
- tr: /tr/
|
||||
- uk: /uk/
|
||||
- ur: /ur/
|
||||
- vi: /vi/
|
||||
- zh: /zh/
|
||||
- features.md
|
||||
@@ -178,9 +182,9 @@ markdown_extensions:
|
||||
guess_lang: false
|
||||
mdx_include:
|
||||
base_path: docs
|
||||
admonition:
|
||||
codehilite:
|
||||
extra:
|
||||
admonition: null
|
||||
codehilite: null
|
||||
extra: null
|
||||
pymdownx.superfences:
|
||||
custom_fences:
|
||||
- name: mermaid
|
||||
@@ -188,8 +192,8 @@ markdown_extensions:
|
||||
format: !!python/name:pymdownx.superfences.fence_code_format ''
|
||||
pymdownx.tabbed:
|
||||
alternate_style: true
|
||||
attr_list:
|
||||
md_in_html:
|
||||
attr_list: null
|
||||
md_in_html: null
|
||||
extra:
|
||||
analytics:
|
||||
provider: google
|
||||
@@ -240,6 +244,8 @@ extra:
|
||||
name: tr - Türkçe
|
||||
- link: /uk/
|
||||
name: uk
|
||||
- link: /ur/
|
||||
name: ur
|
||||
- link: /vi/
|
||||
name: vi - Tiếng Việt
|
||||
- link: /zh/
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
mkdocs-material==9.1.21
|
||||
mdx-include >=1.4.1,<2.0.0
|
||||
mkdocs-markdownextradata-plugin >=0.1.7,<0.3.0
|
||||
mkdocs-redirects>=1.2.1,<1.3.0
|
||||
typer-cli >=0.0.13,<0.0.14
|
||||
typer[all] >=0.6.1,<0.8.0
|
||||
pyyaml >=5.3.1,<7.0.0
|
||||
|
||||
Reference in New Issue
Block a user