Browse Source

📝 Tweak MkDocs and add redirects (#10111)

pull/10030/head
Sebastián Ramírez 2 years ago
committed by GitHub
parent
commit
d1c0e5a89f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      docs/en/mkdocs.yml
  2. 1
      requirements-docs.txt

16
docs/en/mkdocs.yml

@ -42,6 +42,9 @@ plugins:
search: null search: null
markdownextradata: markdownextradata:
data: ../en/data data: ../en/data
redirects:
redirect_maps:
deployment/deta.md: deployment/cloud.md
nav: nav:
- FastAPI: index.md - FastAPI: index.md
- Languages: - Languages:
@ -60,6 +63,7 @@ nav:
- ru: /ru/ - ru: /ru/
- tr: /tr/ - tr: /tr/
- uk: /uk/ - uk: /uk/
- ur: /ur/
- vi: /vi/ - vi: /vi/
- zh: /zh/ - zh: /zh/
- features.md - features.md
@ -178,9 +182,9 @@ markdown_extensions:
guess_lang: false guess_lang: false
mdx_include: mdx_include:
base_path: docs base_path: docs
admonition: admonition: null
codehilite: codehilite: null
extra: extra: null
pymdownx.superfences: pymdownx.superfences:
custom_fences: custom_fences:
- name: mermaid - name: mermaid
@ -188,8 +192,8 @@ markdown_extensions:
format: !!python/name:pymdownx.superfences.fence_code_format '' format: !!python/name:pymdownx.superfences.fence_code_format ''
pymdownx.tabbed: pymdownx.tabbed:
alternate_style: true alternate_style: true
attr_list: attr_list: null
md_in_html: md_in_html: null
extra: extra:
analytics: analytics:
provider: google provider: google
@ -240,6 +244,8 @@ extra:
name: tr - Türkçe name: tr - Türkçe
- link: /uk/ - link: /uk/
name: uk name: uk
- link: /ur/
name: ur
- link: /vi/ - link: /vi/
name: vi - Tiếng Việt name: vi - Tiếng Việt
- link: /zh/ - link: /zh/

1
requirements-docs.txt

@ -2,6 +2,7 @@
mkdocs-material==9.1.21 mkdocs-material==9.1.21
mdx-include >=1.4.1,<2.0.0 mdx-include >=1.4.1,<2.0.0
mkdocs-markdownextradata-plugin >=0.1.7,<0.3.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-cli >=0.0.13,<0.0.14
typer[all] >=0.6.1,<0.8.0 typer[all] >=0.6.1,<0.8.0
pyyaml >=5.3.1,<7.0.0 pyyaml >=5.3.1,<7.0.0

Loading…
Cancel
Save