From: Rabin Lama Dong Date: Mon, 28 Oct 2024 10:42:34 +0000 (+0400) Subject: 📝 Update includes for `docs/en/docs/how-to/custom-docs-ui-assets.md` (#12623) X-Git-Tag: 0.115.5~225 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=86d8e729c8f39c6ae6816ffc1d54533bd0f73799;p=thirdparty%2Ffastapi%2Ffastapi.git 📝 Update includes for `docs/en/docs/how-to/custom-docs-ui-assets.md` (#12623) --- diff --git a/docs/en/docs/how-to/custom-docs-ui-assets.md b/docs/en/docs/how-to/custom-docs-ui-assets.md index abcccb499c..f717c98faa 100644 --- a/docs/en/docs/how-to/custom-docs-ui-assets.md +++ b/docs/en/docs/how-to/custom-docs-ui-assets.md @@ -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