From 68e63dba6275218691280df238e42633c933a1b1 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Sat, 18 Jan 2025 09:21:28 +1000 Subject: [PATCH] docs: open collective, sponsors - drop open collective banner height, sometimes cuts off image - use grid cards for sponsors - hide navigation on both for more screen space --- dev/treefmt.nix | 1 + ....png => logo_namespace_filled_lightbg.png} | Bin docs/open-collective.md | 10 +++--- docs/sponsors.md | 31 +++++++++++++++--- mkdocs.yml | 2 ++ 5 files changed, 34 insertions(+), 10 deletions(-) rename docs/{Logo_namespace_filled_lightbg.png => logo_namespace_filled_lightbg.png} (100%) diff --git a/dev/treefmt.nix b/dev/treefmt.nix index 866dbe74f..58bbb9508 100644 --- a/dev/treefmt.nix +++ b/dev/treefmt.nix @@ -63,6 +63,7 @@ ]; excludes = [ "config.yaml" + "docs/sponsors.md" "*secrets.yaml" "modules/secrets/*.yaml" ]; diff --git a/docs/Logo_namespace_filled_lightbg.png b/docs/logo_namespace_filled_lightbg.png similarity index 100% rename from docs/Logo_namespace_filled_lightbg.png rename to docs/logo_namespace_filled_lightbg.png diff --git a/docs/open-collective.md b/docs/open-collective.md index 9adec0267..808f319b3 100644 --- a/docs/open-collective.md +++ b/docs/open-collective.md @@ -1,8 +1,8 @@ - +--- +hide: + - navigation +--- + diff --git a/docs/sponsors.md b/docs/sponsors.md index c6c23bf6a..dd762ffd7 100644 --- a/docs/sponsors.md +++ b/docs/sponsors.md @@ -1,7 +1,28 @@ +--- +hide: + - navigation +--- + Thanks to all our sponsors. - -|[Cachix](https://cachix.org)|[Gandi](https://www.gandi.net/)|[Namespace](https://cloud.namespace.so)| -|:-:|:-:|:-:| -|Cachix provides us with 1TB of free cache.|Gandi provides us with a free domain and a virtual private server.|Namespace provides us with faster GitHub runners, including ARM64.| - +
+ +- [Cachix](https://cachix.org) + + --- + + Cachix provides us with 1TB of free cache. + +- [Gandi](https://www.gandi.net/) + + --- + + Gandi provides us with a free domain and a virtual private server. + +- [Namespace](https://cloud.namespace.so) + + --- + + Namespace provides us with faster GitHub runners, including ARM64. + +
diff --git a/mkdocs.yml b/mkdocs.yml index 6203d2cca..c6dbda75b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -35,6 +35,8 @@ theme: repo: fontawesome/brands/github markdown_extensions: + - attr_list + - md_in_html - toc: toc_depth: 0