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
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/

1
requirements-docs.txt

@ -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

Loading…
Cancel
Save