]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
✏️ Fix typo in `scripts/mkdocs_hooks.py` (#14457)
authorYuji Teshima <36704166+yujiteshima@users.noreply.github.com>
Sat, 6 Dec 2025 12:23:01 +0000 (21:23 +0900)
committerGitHub <noreply@github.com>
Sat, 6 Dec 2025 12:23:01 +0000 (13:23 +0100)
scripts/mkdocs_hooks.py

index b9e4ff59ed095db9e494a4a9ad940c86e1d61ac7..09cfa99e389b55e3219b2da59260a4b5e8958080 100644 (file)
@@ -132,7 +132,7 @@ def on_pre_page(page: Page, *, config: MkDocsConfig, files: Files) -> Page:
 def on_page_markdown(
     markdown: str, *, page: Page, config: MkDocsConfig, files: Files
 ) -> str:
-    # Set matadata["social"]["cards_layout_options"]["title"] to clean title (without
+    # Set metadata["social"]["cards_layout_options"]["title"] to clean title (without
     # permalink)
     title = page.title
     clean_title = title.split("{ #")[0]