From: Tom Christie Date: Thu, 19 Aug 2021 14:17:41 +0000 (+0100) Subject: Add FastAPI sponsorship (#1271) X-Git-Tag: 0.17.0~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b65ba8b8cad5d35dbf4734bb1c68f969a651f9ae;p=thirdparty%2Fstarlette.git Add FastAPI sponsorship (#1271) --- diff --git a/docs/overrides/partials/nav.html b/docs/overrides/partials/nav.html new file mode 100644 index 00000000..b020b040 --- /dev/null +++ b/docs/overrides/partials/nav.html @@ -0,0 +1,52 @@ + + {% set class = "md-nav md-nav--primary" %} + {% if "navigation.tabs" in features %} + {% set class = class ~ " md-nav--lifted" %} + {% endif %} + {% if "toc.integrate" in features %} + {% set class = class ~ " md-nav--integrated" %} + {% endif %} + + + diff --git a/docs/sponsors/fastapi.png b/docs/sponsors/fastapi.png new file mode 100644 index 00000000..a5b2af17 Binary files /dev/null and b/docs/sponsors/fastapi.png differ diff --git a/mkdocs.yml b/mkdocs.yml index b1237aef..048cf7fe 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -4,6 +4,7 @@ site_url: https://www.starlette.io theme: name: 'material' + custom_dir: docs/overrides repo_name: encode/starlette repo_url: https://github.com/encode/starlette