]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
➕ Replace mkdocs-markdownextradata-plugin with mkdocs-macros-plugin (#11383)
authorSebastián Ramírez <tiangolo@gmail.com>
Mon, 1 Apr 2024 16:48:56 +0000 (11:48 -0500)
committerGitHub <noreply@github.com>
Mon, 1 Apr 2024 16:48:56 +0000 (11:48 -0500)
docs/en/mkdocs.yml
requirements-docs.txt

index 9e22e3a22d7d232cafe074e642a185d033209592..933e7e4a2a4406335dffcefa4286e0731162e103 100644 (file)
@@ -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
index 28408a9f1b2958eb5ecb1e3c77d39040d50bdf48..a97f988cbfc14fb8ed2cf1f67dd4133f4e53ee17 100644 (file)
@@ -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