From 71a5b11f43a49694950d7e39de1520cb43d8e8f9 Mon Sep 17 00:00:00 2001 From: Roberto Prevato Date: Sun, 8 Jun 2025 19:03:26 +0200 Subject: [PATCH 1/2] Fix discussions, add Granian's picture --- blacksheep/docs/asgi.md | 10 +++++++++- blacksheep/docs/getting-started.md | 6 +++--- blacksheep/overrides/partials/comments.html | 4 ++-- rodi/overrides/partials/comments.html | 4 ++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/blacksheep/docs/asgi.md b/blacksheep/docs/asgi.md index 0749681..df60f82 100644 --- a/blacksheep/docs/asgi.md +++ b/blacksheep/docs/asgi.md @@ -4,7 +4,7 @@ BlackSheep is an [ASGI](https://asgi.readthedocs.io/en/latest/) web framework, which requires an ASGI HTTP server to run, such as [Uvicorn](http://www.uvicorn.org/), or [Hypercorn](https://pgjones.gitlab.io/hypercorn/) or -[granian](https://github.com/emmett-framework/granian). All examples in this +[Granian](https://github.com/emmett-framework/granian). All examples in this documentation use `Uvicorn`, but the framework has also been tested with Hypercorn and should work with any server that implements the `ASGI` specification. @@ -17,6 +17,14 @@ specification. Uvicorn

+### Granian + +
+
+

+ Granian +

+ ### Hypercorn
diff --git a/blacksheep/docs/getting-started.md b/blacksheep/docs/getting-started.md index 7025eb3..f2b1150 100644 --- a/blacksheep/docs/getting-started.md +++ b/blacksheep/docs/getting-started.md @@ -41,9 +41,9 @@ python -m venv venv ``` BlackSheep is an [ASGI](https://asgi.readthedocs.io/en/latest/) web framework, -so it requires an ASGI HTTP server like [uvicorn](http://www.uvicorn.org/), or -[hypercorn](https://pgjones.gitlab.io/hypercorn/) or -[granian](https://github.com/emmett-framework/granian). Install `uvicorn` and +so it requires an ASGI HTTP server like [Uvicorn](http://www.uvicorn.org/), +[Hypercorn](https://pgjones.gitlab.io/hypercorn/), or +[Granian](https://github.com/emmett-framework/granian). Install `uvicorn` and `blacksheep` for this tutorial: ```bash diff --git a/blacksheep/overrides/partials/comments.html b/blacksheep/overrides/partials/comments.html index c62c877..cc18ee7 100644 --- a/blacksheep/overrides/partials/comments.html +++ b/blacksheep/overrides/partials/comments.html @@ -1,8 +1,8 @@ {% if not page.meta.no_comments %}