Browse Source

📝 Update includes in `docs/en/docs/tutorial/static-files.md` (#12575)

pull/12627/head
Nomad Monad 5 months ago
committed by GitHub
parent
commit
b24b4fd6a8
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      docs/en/docs/tutorial/static-files.md

4
docs/en/docs/tutorial/static-files.md

@ -7,9 +7,7 @@ You can serve static files automatically from a directory using `StaticFiles`.
* Import `StaticFiles`.
* "Mount" a `StaticFiles()` instance in a specific path.
```Python hl_lines="2 6"
{!../../docs_src/static_files/tutorial001.py!}
```
{* ../../docs_src/static_files/tutorial001.py hl[2,6] *}
/// note | "Technical Details"

Loading…
Cancel
Save