]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Update includes for `docs/en/docs/how-to/custom-docs-ui-assets.md` (#12623)
authorRabin Lama Dong <rrabin.lama.dong@gmail.com>
Mon, 28 Oct 2024 10:42:34 +0000 (14:42 +0400)
committerGitHub <noreply@github.com>
Mon, 28 Oct 2024 10:42:34 +0000 (10:42 +0000)
docs/en/docs/how-to/custom-docs-ui-assets.md

index abcccb499cc25b5f50c6568224e264cd63ee62ad..f717c98faafc08cd57cc3921923c6c34ca68b42d 100644 (file)
@@ -118,9 +118,7 @@ After that, your file structure could look like:
 * Import `StaticFiles`.
 * "Mount" a `StaticFiles()` instance in a specific path.
 
-```Python hl_lines="7  11"
-{!../../docs_src/custom_docs_ui/tutorial002.py!}
-```
+{* ../../docs_src/custom_docs_ui/tutorial002.py hl[7,11] *}
 
 ### Test the static files