From 0a2f0a690a7eda40ee43e4926184ce776897d911 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Wed, 22 Jul 2020 22:58:12 +0200 Subject: Add donation banner to documentation. --- docs/_templates/layout.html | 10 ++++++++++ docs/src/donating.rst | 19 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 docs/src/donating.rst diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 311728205..5005cd75c 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -1,5 +1,15 @@ {% extends "!layout.html" %} +{% block relbar1 %} +{{ super() }} +{% if pagename != "src/donating" %} +
+

Like the tool? Help making it better! Your donation helps!

+
+{% endif %} +{% endblock %} + + {% block footer %} {{ super() }} {# ## Removed to avoid tracking our users. diff --git a/docs/src/donating.rst b/docs/src/donating.rst new file mode 100644 index 000000000..3a6e86539 --- /dev/null +++ b/docs/src/donating.rst @@ -0,0 +1,19 @@ +🌷️ Thank you for your interest in supporting Cython! 🌷️ +====================================================== + +Managing, maintaining and advancing a project as large as Cython takes +**a lot of time and dedication**. This is really a full-time job that +is currently done by **Stefan Behnel**, paid by users just like you. + +**Your support can make a difference** +for improving a great tool that helps you every day! + +Please consider signing a subscription for continuous project support via + +* `GitHub Sponsors `_ +* `Tidelift `_ +* `PayPal `_ + +or donating via + +* `PayPal `_ -- cgit v1.2.1