]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Tweak MkDocs and add redirects (#10111)
authorSebastián Ramírez <tiangolo@gmail.com>
Sat, 19 Aug 2023 13:33:32 +0000 (15:33 +0200)
committerGitHub <noreply@github.com>
Sat, 19 Aug 2023 13:33:32 +0000 (13:33 +0000)
docs/en/mkdocs.yml
requirements-docs.txt

index 2a59be4b095d020a7c75d85f2d3d81a17bfd5ffa..22babe745706136e40bc2c9f76079f5d36a23512 100644 (file)
@@ -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/
index 220d1ec3a5aa1bc67c190cc9702390537390a3fa..2e667720e41e4928519c066058965ba5662444b7 100644 (file)
@@ -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