mirror of https://github.com/tiangolo/fastapi.git
📝 Update includes for `docs/en/docs/how-to/custom-docs-ui-assets.md` (#12623)
This commit is contained in:
parent
794d4b3a9b
commit
86d8e729c8
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue