]> git.ipfire.org Git - thirdparty/starlette.git/commitdiff
Add sponsorship page (#2877)
authorMarcelo Trylesinski <marcelotryle@gmail.com>
Sat, 22 Feb 2025 11:37:06 +0000 (08:37 -0300)
committerGitHub <noreply@github.com>
Sat, 22 Feb 2025 11:37:06 +0000 (08:37 -0300)
README.md
docs/sponsorship.md [new file with mode: 0644]
mkdocs.yml
requirements.txt

index eed580af4a3d086034e156139def774dced74860..1185cc0157590a9d13c78dd9d47c5d705009ce09 100644 (file)
--- a/README.md
+++ b/README.md
@@ -58,7 +58,7 @@ $ pip install uvicorn
 
 ## Example
 
-```python title="example.py"
+```python title="main.py"
 from starlette.applications import Starlette
 from starlette.responses import JSONResponse
 from starlette.routing import Route
@@ -77,11 +77,9 @@ app = Starlette(debug=True, routes=routes)
 Then run the application using Uvicorn:
 
 ```shell
-$ uvicorn example:app
+$ uvicorn main:app
 ```
 
-For a more complete example, see [encode/starlette-example](https://github.com/encode/starlette-example).
-
 ## Dependencies
 
 Starlette only requires `anyio`, and the following are optional:
diff --git a/docs/sponsorship.md b/docs/sponsorship.md
new file mode 100644 (file)
index 0000000..ad55585
--- /dev/null
@@ -0,0 +1 @@
+# Coming soon...
index b1f32422aa1d2afadf40aeb0ed2d02dd4d9e8ea2..02aae146e0871cdae52c8d01b14788b3ba0e074a 100644 (file)
@@ -53,14 +53,19 @@ nav:
   - Community:
       - Third Party Packages: "third-party-packages.md"
       - Contributing: "contributing.md"
+  - Sponsorship: "sponsorship.md"
 
 markdown_extensions:
+  - attr_list
   - admonition
   - pymdownx.highlight
   - pymdownx.superfences
   - pymdownx.details
   - pymdownx.tabbed:
       alternate_style: true
+  - pymdownx.emoji:
+      emoji_index: !!python/name:material.extensions.emoji.twemoji
+      emoji_generator: !!python/name:material.extensions.emoji.to_svg
 
 watch:
   - starlette
index 579b5e72916d6f8cc98081f38b13ba85a4de5a16..27da6b152ebac2dbaf9d2e4c034f497fefd81af6 100644 (file)
@@ -16,7 +16,7 @@ trio==0.28.0
 # Documentation
 black==25.1.0
 mkdocs==1.6.1
-mkdocs-material==9.6.1
+mkdocs-material==9.6.5
 mkdocstrings-python==1.13.0
 
 # Packaging