Skip to content

Commit d7c124c

Browse files
committed
Remove Gittip/Gratipay functionality.
Closes #128
1 parent 528ba30 commit d7c124c

File tree

4 files changed

+16
-20
lines changed

4 files changed

+16
-20
lines changed

alabaster/donate.html

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
{% if theme_gratipay_user or theme_gittip_user %}
2-
<h3>Donate</h3>
3-
<p>
4-
Consider supporting the authors on <a href="https://www.gratipay.com/">Gratipay</a>:
5-
<script data-gratipay-username="{{ theme_gratipay_user or theme_gittip_user }}"
6-
data-gratipay-widget="button"
7-
src="//gttp.co/v1.js"></script>
8-
</p>
9-
{% endif %}
10-
111
{% if theme_tidelift_url %}
122
<h3>Professional support</h3>
133
<p>

docs/changelog.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
Changelog
33
=========
44

5+
- :bug:`128` Remove Gittip/Gratipay output from the ``donation.html`` sidebar
6+
component, since the actual service has been insolvent since 2017. The
7+
configuration options remain in place for the time being (to avoid breaking
8+
backwards compatibility) but no longer do anything. Thanks to Joe Alcorn for
9+
the report / original patchset.
10+
11+
.. note::
12+
See the changelog entry for ``#132``, which re-introduces a more generic
13+
donation sidebar framework.
14+
515
- :feature:`142 backported` Add a ``tidelift_url`` option, which when set
616
(default is ``None``/unset) adds a small text snippet to the
717
``donation.html`` sidebar component, linking to the given URL string. Thanks

docs/customization.rst

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,10 @@ Variables and feature toggles
118118
string - used to display a `Codecov <https://codecov.io>`_ build status
119119
button in the sidebar. If ``true``, uses your ``github_(user|repo)``
120120
settings.
121-
* ``gratipay_user``: Set to your `Gratipay <https://gratipay.com>`_ username
122-
if you want a Gratipay 'Donate' section in your sidebar.
123-
124-
* This used to be ``gittip_user`` before that service changed its name to
125-
Gratipay; we've left the old setting in place as an alias for backwards
126-
compatibility reasons. It may be removed in the future.
127-
* If both options are given, ``gratipay_user`` wins.
128-
121+
* ``gittip_user`` / ``gratipay_user``: **Deprecated**, as that service is no
122+
longer running. These options still exist (removing them would break
123+
backwards compatibility; Sphinx errors when users try to set nonexistent
124+
options) but they no longer do anything.
129125
* ``analytics_id``: Set to your `Google Analytics
130126
<http://www.google.com/analytics/>`_ ID (e.g. ``UA-#######-##``) to enable
131127
tracking.

docs/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ care much.
6868
<http://sphinx-doc.org/config.html#confval-html_sidebars>`_ for details on
6969
how this setting behaves.
7070
* Alabaster provides ``about.html`` (logo, github button + blurb),
71-
``donate.html`` (Gratipay blurb/button) and ``navigation.html`` (a more
72-
flexible version of the builtin ``localtoc``/``globaltoc`` templates).
71+
``donate.html`` (donation/support buttons/links) and ``navigation.html`` (a
72+
more flexible version of the builtin ``localtoc``/``globaltoc`` templates).
7373
``searchbox.html`` comes with Sphinx itself.
7474

7575

0 commit comments

Comments
 (0)