From: Tom Christie Date: Tue, 17 Sep 2024 10:31:15 +0000 (+0100) Subject: Add speakeasy sponsorship (#3305) X-Git-Tag: 0.28.0~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4961b9f8e7f00b654dbdbf200562bd273f598c7;p=thirdparty%2Fhttpx.git Add speakeasy sponsorship (#3305) --- diff --git a/docs/img/speakeasy.png b/docs/img/speakeasy.png new file mode 100644 index 00000000..f8a22cca Binary files /dev/null and b/docs/img/speakeasy.png differ diff --git a/docs/overrides/partials/nav.html b/docs/overrides/partials/nav.html new file mode 100644 index 00000000..d5a413f0 --- /dev/null +++ b/docs/overrides/partials/nav.html @@ -0,0 +1,54 @@ +{% import "partials/nav-item.html" as item with context %} + + + {% 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 %} + + + + \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index f6e4dfde..86ca1e53 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -4,6 +4,7 @@ site_url: https://www.python-httpx.org/ theme: name: 'material' + custom_dir: 'docs/overrides' palette: - scheme: 'default' media: '(prefers-color-scheme: light)'