Browse Source

Replace mkdocs-markdownextradata-plugin with mkdocs-macros-plugin (#11383)

pull/11325/head
Sebastián Ramírez 1 year ago
committed by GitHub
parent
commit
7fbaa1f7d8
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 9
      docs/en/mkdocs.yml
  2. 2
      requirements-docs.txt

9
docs/en/mkdocs.yml

@ -41,8 +41,13 @@ repo_url: https://github.com/tiangolo/fastapi
edit_uri: ''
plugins:
search: null
markdownextradata:
data: ../en/data
macros:
include_yaml:
- external_links: ../en/data/external_links.yml
- github_sponsors: ../en/data/github_sponsors.yml
- people: ../en/data/people.yml
- sponsors_badge: ../en/data/sponsors_badge.yml
- sponsors: ../en/data/sponsors.yml
redirects:
redirect_maps:
deployment/deta.md: deployment/cloud.md

2
requirements-docs.txt

@ -2,7 +2,6 @@
-r requirements-docs-tests.txt
mkdocs-material==9.4.7
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
@ -17,3 +16,4 @@ mkdocstrings[python]==0.23.0
griffe-typingdoc==0.2.2
# For griffe, it formats with black
black==23.3.0
mkdocs-macros-plugin==1.0.5

Loading…
Cancel
Save