From 4093a8ea5b874feabd7d6393276a5724d7bd3f0d Mon Sep 17 00:00:00 2001 From: binwiederhier Date: Mon, 20 Feb 2023 09:19:51 -0500 Subject: [PATCH] Add sponsorship bar to docs --- docs/_overrides/main.html | 50 +++++++++++++++++++++++++++++++++++++++ docs/integrations.md | 1 + docs/static/css/extra.css | 2 +- mkdocs.yml | 1 + 4 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 docs/_overrides/main.html diff --git a/docs/_overrides/main.html b/docs/_overrides/main.html new file mode 100644 index 00000000..53a26fc4 --- /dev/null +++ b/docs/_overrides/main.html @@ -0,0 +1,50 @@ +{% extends "base.html" %} + +{% block announce %} + + +If you like ntfy, please consider sponsoring it via GitHub Sponsors +or Liberapay + + + + +{% endblock %} diff --git a/docs/integrations.md b/docs/integrations.md index 1e45ab0f..d7e92203 100644 --- a/docs/integrations.md +++ b/docs/integrations.md @@ -35,6 +35,7 @@ and uptime of third party servers, so use of each server is **at your own discre - [Shoutrrr](https://containrrr.dev/shoutrrr/v0.7/services/ntfy/) ⭐ - Notification library for gophers and their furry friends. - [Scrt.link](https://scrt.link/) - Share a secret - [Platypush](https://docs.platypush.tech/platypush/plugins/ntfy.html) - Automation platform aimed to run on any device that can run Python +- [diun](https://crazymax.dev/diun/) - Docker Image Update Notifier ## [UnifiedPush](https://unifiedpush.org/users/apps/) integrations diff --git a/docs/static/css/extra.css b/docs/static/css/extra.css index 0b239e1b..0329b352 100644 --- a/docs/static/css/extra.css +++ b/docs/static/css/extra.css @@ -2,13 +2,13 @@ --md-primary-fg-color: #338574; --md-primary-fg-color--light: #338574; --md-primary-fg-color--dark: #338574; + --md-footer-bg-color: #353744; } .md-header__button.md-logo :is(img, svg) { width: unset !important; } - .md-header__topic:first-child { font-weight: 400; } diff --git a/mkdocs.yml b/mkdocs.yml index b937f95a..e3a0d507 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -10,6 +10,7 @@ edit_uri: blob/main/docs/ theme: name: material language: en + custom_dir: docs/_overrides logo: static/img/ntfy.png favicon: static/img/favicon.png include_search_page: false