]> git.ipfire.org Git - thirdparty/starlette.git/commitdiff
Replace references from starlette.io to starlette.dev (#3023)
authorMarcelo Trylesinski <marcelotryle@gmail.com>
Thu, 18 Sep 2025 21:16:37 +0000 (23:16 +0200)
committerGitHub <noreply@github.com>
Thu, 18 Sep 2025 21:16:37 +0000 (21:16 +0000)
CITATION.cff
README.md
docs/exceptions.md
docs/index.md
docs/release-notes.md
docs/third-party-packages.md
mkdocs.yml
pyproject.toml
starlette/applications.py
starlette/routing.py

index 1dadc999ff7dd5e838602ea55bc3b7d9b6f73460..5525c0f3a3f369db9f8dc073c03303cfce411aa2 100644 (file)
@@ -15,7 +15,7 @@ authors:
     family-names: Christie
     email: tom@tomchristie.com
 repository-code: "https://github.com/Kludex/starlette"
-url: "https://www.starlette.io/"
+url: "https://www.starlette.dev/"
 abstract: Starlette is an ASGI web framework for Python.
 keywords:
   - asgi
index ae6a28465c6e6098b8bbcdd639981e6bc8fefb16..72d41a85254e69f9652ad872d4eed6d52980593c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@
 
 ---
 
-**Documentation**: <a href="https://www.starlette.io/" target="_blank">https://www.starlette.io</a>
+**Documentation**: <a href="https://www.starlette.dev/" target="_blank">https://www.starlette.dev</a>
 
 **Source Code**: <a href="https://github.com/Kludex/starlette" target="_blank">https://github.com/Kludex/starlette</a>
 
index 75a1c8e2287a6506c0ac2312d52eedf9aa623d16..ef8e755f6b1357a96609a11039a758892bfc85ec 100644 (file)
@@ -99,7 +99,7 @@ exception_handlers = {
 }
 ```
 
-It's important to notice that in case a [`BackgroundTask`](https://www.starlette.io/background/) raises an exception,
+It's important to notice that in case a [`BackgroundTask`](background.md) raises an exception,
 it will be handled by the `handle_error` function, but at that point, the response was already sent. In other words,
 the response created by `handle_error` will be discarded. In case the error happens before the response was sent, then
 it will use the response object - in the above example, the returned `JSONResponse`.
index c4389591d8419ef7951908fb4b976892ec1a7110..eaad4d57153530fcd396d9691c2380cd9eff660c 100644 (file)
@@ -19,7 +19,7 @@
 
 ---
 
-**Documentation**: <a href="https://www.starlette.io/" target="_blank">https://www.starlette.io</a>
+**Documentation**: <a href="https://www.starlette.dev/" target="_blank">https://www.starlette.dev</a>
 
 **Source Code**: <a href="https://github.com/Kludex/starlette" target="_blank">https://github.com/Kludex/starlette</a>
 
index b0bba7b4c149de72f29c90a714bb572aa4ade02d..9fdde897dcbed9b68771cff119dc18a95211bcc2 100644 (file)
@@ -731,7 +731,7 @@ changes have occurred. Another significant change with this release is the
 ### Removed
 
 * `UJSONResponse` was removed (this change was intended to be included in 0.14.0). Please see the
-  [documentation](https://www.starlette.io/responses/#custom-json-serialization) for how to
+  [documentation](https://www.starlette.dev/responses/#custom-json-serialization) for how to
   implement responses using custom JSON serialization -
   [#1074](https://github.com/Kludex/starlette/pull/1047).
 
index f85e082162fefe67abc58e6e97c611ac982a5695..4f56e376847bf7ef91b719d76949d4d83574fe7a 100644 (file)
@@ -252,7 +252,7 @@ Provides translations, localization, and timezone support via Babel integration.
 
 <a href="https://github.com/DavidVentura/starlette-static-resources" target="_blank">GitHub</a>
 
-Allows mounting [package resources](https://docs.python.org/3/library/importlib.resources.html#module-importlib.resources) for static data, similar to [StaticFiles](https://www.starlette.io/staticfiles/).
+Allows mounting [package resources](https://docs.python.org/3/library/importlib.resources.html#module-importlib.resources) for static data, similar to [StaticFiles](staticfiles.md).
 
 ### Sentry
 
@@ -266,4 +266,4 @@ Sentry is a software error detection tool. It offers actionable insights for res
 <a href="https://github.com/posit-dev/py-shiny" target="_blank">GitHub</a> |
 <a href="https://shiny.posit.co/py/" target="_blank">Documentation</a>
 
-Leveraging Starlette and asyncio, Shiny allows developers to create effortless Python web applications using the power of reactive programming. Shiny eliminates the hassle of manual state management, automatically determining the best execution path for your app at runtime while simultaneously minimizing re-rendering. This means that Shiny can support everything from the simplest dashboard to full-featured web apps.   
\ No newline at end of file
+Leveraging Starlette and asyncio, Shiny allows developers to create effortless Python web applications using the power of reactive programming. Shiny eliminates the hassle of manual state management, automatically determining the best execution path for your app at runtime while simultaneously minimizing re-rendering. This means that Shiny can support everything from the simplest dashboard to full-featured web apps.
index 2aa208b51e6e0cf26e28bd3a364375d2a5d14d0b..35267c409f64e20499b5969bc1a812fcccf42820 100644 (file)
@@ -1,6 +1,6 @@
 site_name: Starlette
 site_description: The little ASGI library that shines.
-site_url: https://www.starlette.io
+site_url: https://www.starlette.dev
 
 repo_name: Kludex/starlette
 repo_url: https://github.com/Kludex/starlette
index f7a722a5ace2ffb6556af960fa52fd2bb8c0618e..ea9e7b518099d971a587d245ecd19812159d3976 100644 (file)
@@ -70,8 +70,8 @@ required-version = ">=0.8.6"
 
 [project.urls]
 Homepage = "https://github.com/Kludex/starlette"
-Documentation = "https://www.starlette.io/"
-Changelog = "https://www.starlette.io/release-notes/"
+Documentation = "https://www.starlette.dev/"
+Changelog = "https://www.starlette.dev/release-notes/"
 Funding = "https://github.com/sponsors/Kludex"
 Source = "https://github.com/Kludex/starlette"
 
index 62c0eb165eef282b6603f6ef17839214a8c531d8..4ac0ff898db9f895d9cd023c692de4146df79cd3 100644 (file)
@@ -166,7 +166,7 @@ class Starlette:
     def exception_handler(self, exc_class_or_status_code: int | type[Exception]) -> Callable:  # type: ignore[type-arg]
         warnings.warn(
             "The `exception_handler` decorator is deprecated, and will be removed in version 1.0.0. "
-            "Refer to https://www.starlette.io/exceptions/ for the recommended approach.",
+            "Refer to https://www.starlette.dev/exceptions/ for the recommended approach.",
             DeprecationWarning,
         )
 
@@ -192,7 +192,7 @@ class Starlette:
         """
         warnings.warn(
             "The `route` decorator is deprecated, and will be removed in version 1.0.0. "
-            "Refer to https://www.starlette.io/routing/ for the recommended approach.",
+            "Refer to https://www.starlette.dev/routing/ for the recommended approach.",
             DeprecationWarning,
         )
 
@@ -218,7 +218,7 @@ class Starlette:
         """
         warnings.warn(
             "The `websocket_route` decorator is deprecated, and will be removed in version 1.0.0. "
-            "Refer to https://www.starlette.io/routing/#websocket-routing for the recommended approach.",
+            "Refer to https://www.starlette.dev/routing/#websocket-routing for the recommended approach.",
             DeprecationWarning,
         )
 
@@ -238,7 +238,7 @@ class Starlette:
         """
         warnings.warn(
             "The `middleware` decorator is deprecated, and will be removed in version 1.0.0. "
-            "Refer to https://www.starlette.io/middleware/#using-middleware for recommended approach.",
+            "Refer to https://www.starlette.dev/middleware/#using-middleware for recommended approach.",
             DeprecationWarning,
         )
         assert middleware_type == "http", 'Currently only middleware("http") is supported.'
index 96c2df929fcfc6431a716f43de76b4d029737ccb..3acc5316641bbd58975847e559e94b7fbb18adde 100644 (file)
@@ -601,7 +601,7 @@ class Router:
             warnings.warn(
                 "The on_startup and on_shutdown parameters are deprecated, and they "
                 "will be removed on version 1.0. Use the lifespan parameter instead. "
-                "See more about it on https://www.starlette.io/lifespan/.",
+                "See more about it on https://www.starlette.dev/lifespan/.",
                 DeprecationWarning,
             )
             if lifespan:
@@ -818,7 +818,7 @@ class Router:
         """
         warnings.warn(
             "The `route` decorator is deprecated, and will be removed in version 1.0.0."
-            "Refer to https://www.starlette.io/routing/#http-routing for the recommended approach.",
+            "Refer to https://www.starlette.dev/routing/#http-routing for the recommended approach.",
             DeprecationWarning,
         )
 
@@ -844,7 +844,7 @@ class Router:
         """
         warnings.warn(
             "The `websocket_route` decorator is deprecated, and will be removed in version 1.0.0. Refer to "
-            "https://www.starlette.io/routing/#websocket-routing for the recommended approach.",
+            "https://www.starlette.dev/routing/#websocket-routing for the recommended approach.",
             DeprecationWarning,
         )
 
@@ -865,7 +865,7 @@ class Router:
     def on_event(self, event_type: str) -> Callable:  # type: ignore[type-arg]
         warnings.warn(
             "The `on_event` decorator is deprecated, and will be removed in version 1.0.0. "
-            "Refer to https://www.starlette.io/lifespan/ for recommended approach.",
+            "Refer to https://www.starlette.dev/lifespan/ for recommended approach.",
             DeprecationWarning,
         )