File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ $ pip install uvicorn
58
58
59
59
## Example
60
60
61
- ``` python title="example .py"
61
+ ``` python title="main .py"
62
62
from starlette.applications import Starlette
63
63
from starlette.responses import JSONResponse
64
64
from starlette.routing import Route
@@ -77,11 +77,9 @@ app = Starlette(debug=True, routes=routes)
77
77
Then run the application using Uvicorn:
78
78
79
79
``` shell
80
- $ uvicorn example :app
80
+ $ uvicorn main :app
81
81
```
82
82
83
- For a more complete example, see [ encode/starlette-example] ( https://github.com/encode/starlette-example ) .
84
-
85
83
## Dependencies
86
84
87
85
Starlette only requires ` anyio ` , and the following are optional:
Original file line number Diff line number Diff line change
1
+ # Coming soon...
Original file line number Diff line number Diff line change 53
53
- Community :
54
54
- Third Party Packages : " third-party-packages.md"
55
55
- Contributing : " contributing.md"
56
+ - Sponsorship : " sponsorship.md"
56
57
57
58
markdown_extensions :
59
+ - attr_list
58
60
- admonition
59
61
- pymdownx.highlight
60
62
- pymdownx.superfences
61
63
- pymdownx.details
62
64
- pymdownx.tabbed :
63
65
alternate_style : true
66
+ - pymdownx.emoji :
67
+ emoji_index : !!python/name:material.extensions.emoji.twemoji
68
+ emoji_generator : !!python/name:material.extensions.emoji.to_svg
64
69
65
70
watch :
66
71
- starlette
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ trio==0.28.0
16
16
# Documentation
17
17
black == 25.1.0
18
18
mkdocs == 1.6.1
19
- mkdocs-material == 9.6.1
19
+ mkdocs-material == 9.6.5
20
20
mkdocstrings-python == 1.13.0
21
21
22
22
# Packaging
You can’t perform that action at this time.
0 commit comments